Fixed mixed type hints
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
065ee8524c
commit
a39f05672f
@ -327,12 +327,6 @@ parameters:
|
||||
count: 2
|
||||
path: src/BrowseForeigners.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$description of method PhpMyAdmin\\BrowseForeigners\:\:getDescriptionAndTitle\(\) expects string, mixed given\.$#'
|
||||
identifier: argument.type
|
||||
count: 2
|
||||
path: src/BrowseForeigners.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Charset\:\:fromServer\(\) expects array\{Charset\?\: string, Description\?\: string, Default collation\?\: string, Maxlen\?\: string\}, array\<string\|null\> given\.$#'
|
||||
identifier: argument.type
|
||||
|
||||
@ -71,10 +71,6 @@
|
||||
</PossiblyNullArgument>
|
||||
</file>
|
||||
<file src="src/BrowseForeigners.php">
|
||||
<MixedArgument>
|
||||
<code><![CDATA[$descriptions[$indexByDescription]]]></code>
|
||||
<code><![CDATA[$descriptions[$indexByKeyname]]]></code>
|
||||
</MixedArgument>
|
||||
<MixedArrayOffset>
|
||||
<code><![CDATA[$relrow[$foreignData->foreignField]]]></code>
|
||||
</MixedArrayOffset>
|
||||
|
||||
@ -35,13 +35,13 @@ class BrowseForeigners
|
||||
/**
|
||||
* Function to get html for one relational key
|
||||
*
|
||||
* @param int $horizontalCount the current horizontal count
|
||||
* @param string $header table header
|
||||
* @param mixed[] $keys all the keys
|
||||
* @param int $indexByKeyname index by keyname
|
||||
* @param mixed[] $descriptions descriptions
|
||||
* @param int $indexByDescription index by description
|
||||
* @param string $currentValue current value on the edit form
|
||||
* @param int $horizontalCount the current horizontal count
|
||||
* @param string $header table header
|
||||
* @param mixed[] $keys all the keys
|
||||
* @param int $indexByKeyname index by keyname
|
||||
* @param string[] $descriptions descriptions
|
||||
* @param int $indexByDescription index by description
|
||||
* @param string $currentValue current value on the edit form
|
||||
*
|
||||
* @return array{string, int, int} the generated html
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user