Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-09-07 20:50:35 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-09-07 20:50:35 +0300
commita3ba333bfc9325b512807c155a1d75820ebd1f45 (patch)
treed3a02bcff0dc94cdb0f7066580486c42d8ebedb2 /psalm-baseline.xml
parente9d742fdb67f069864000deed1b25006c099043d (diff)
Add better type description for Index::$columns
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'psalm-baseline.xml')
-rw-r--r--psalm-baseline.xml21
1 files changed, 2 insertions, 19 deletions
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 11ee1b52bc..c92f105a48 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -7719,11 +7719,10 @@
<DocblockTypeContradiction occurrences="1">
<code>$this-&gt;packed === null</code>
</DocblockTypeContradiction>
- <MixedArgument occurrences="5">
+ <MixedArgument occurrences="4">
<code>$_each_index</code>
<code>$_each_index</code>
<code>$column</code>
- <code>$key</code>
<code>$params['columns']</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
@@ -7737,11 +7736,8 @@
<code>self::$registry[$schema][$table][$keyName]</code>
<code>self::$registry[$schema][$table][$keyName]</code>
</MixedArrayOffset>
- <MixedAssignment occurrences="19">
- <code>$column</code>
+ <MixedAssignment occurrences="16">
<code>$column</code>
- <code>$data['columns'][]</code>
- <code>$key</code>
<code>$key</code>
<code>$keyName</code>
<code>$name</code>
@@ -7758,19 +7754,9 @@
<code>$this-&gt;table</code>
<code>$this-&gt;type</code>
</MixedAssignment>
- <MixedMethodCall occurrences="1">
- <code>getCompareData</code>
- </MixedMethodCall>
- <MixedOperand occurrences="1">
- <code>$key</code>
- </MixedOperand>
<MixedPropertyTypeCoercion occurrences="1">
<code>self::$registry</code>
</MixedPropertyTypeCoercion>
- <MixedReturnTypeCoercion occurrences="2">
- <code>$this-&gt;columns</code>
- <code>IndexColumn[]</code>
- </MixedReturnTypeCoercion>
<PossiblyNullPropertyAssignmentValue occurrences="3">
<code>null</code>
<code>null</code>
@@ -12797,9 +12783,6 @@
<code>$_SESSION['tmpval']['pos']</code>
<code>$_SESSION['tmpval']['possible_as_geometry']</code>
</MixedArrayAssignment>
- <MixedArrayTypeCoercion occurrences="1">
- <code>$columns[$indexColumnName]</code>
- </MixedArrayTypeCoercion>
<MixedAssignment occurrences="16">
<code>$maxRows</code>
<code>$oneFieldMeta</code>