Fix not working SomeType[string] in code docs

This commit is contained in:
Alexander A. Klimov 2017-09-29 14:13:10 +02:00
parent 3655971ae8
commit 218355dd18
6 changed files with 9 additions and 9 deletions

View file

@ -31,7 +31,7 @@ class GraphController extends MonitoringAwareController
/**
* The URL parameters for the graph
*
* @var string[string]
* @var string[]
*/
protected $graphParams = [];

View file

@ -15,7 +15,7 @@ class CommonForm extends Form
*
* One month equals 30 days and one year equals 365.25 days. This should cover enough cases.
*
* @var int[string]
* @var int[]
*/
protected $rangeFactors = [
'minutes' => 60,
@ -29,7 +29,7 @@ class CommonForm extends Form
/**
* The elements' default values
*
* @var string[string]|null
* @var string[]|null
*/
protected $defaultFormData;

View file

@ -16,7 +16,7 @@ trait TimeRangePickerTrait
}
/**
* @return string[string]
* @return string[]
*/
public static function getAbsoluteRangeParameters()
{

View file

@ -32,7 +32,7 @@ class MetricsQuery implements Queryable, Filterable, Fetchable
/**
* Extension of {@link base}
*
* @var string[string]
* @var string[]
*/
protected $filter = [];

View file

@ -20,7 +20,7 @@ class Templates
/**
* All templates by their name
*
* @var Template[string]
* @var Template[]
*/
protected $templates = [];
@ -280,7 +280,7 @@ class Templates
/**
* Get all loaded templates by their name
*
* @return Template[string]
* @return Template[]
*/
public function getTemplates()
{

View file

@ -52,7 +52,7 @@ class MacroTemplate
/**
* Return a string based on this template with the macros resolved from the given variables
*
* @param string[string] $variables
* @param string[] $variables
* @param string $default The default value for missing variables.
* By default the macro just isn't replaced.
*
@ -91,7 +91,7 @@ class MacroTemplate
*
* @param string $resolved A result of {@link resolve()}
*
* @return string[string]|false Variables as passed to {@link resolve()} if successful
* @return string[]|false Variables as passed to {@link resolve()} if successful
*/
public function reverseResolve($resolved)
{