Skip to content

Commit 326b4ab

Browse files
committed
Update psalm baseline.
I think psalm has incorrect method types for SplObjectStorage as the PHP docs clearly show it accepting arguments despite what psalm may think.
1 parent b6e2c39 commit 326b4ab

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

psalm-baseline.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@
123123
<UndefinedInterfaceMethod occurrences="1">
124124
<code>genericInstances</code>
125125
</UndefinedInterfaceMethod>
126+
<TypeDoesNotContainType occurrences="1">
127+
<code>!$connection instanceof ConnectionInterface</code>
128+
</TypeDoesNotContainType>
126129
</file>
127130
<file src="src/Panel/VariablesPanel.php">
128131
<InvalidArgument occurrences="1">
@@ -152,8 +155,9 @@
152155
<DeprecatedMethod occurrences="1">
153156
<code>makeNeatArray</code>
154157
</DeprecatedMethod>
155-
<InvalidArgument occurrences="1">
158+
<InvalidArgument occurrences="2">
156159
<code>$value</code>
160+
<code>$values</code>
157161
</InvalidArgument>
158162
</file>
159163
</files>

0 commit comments

Comments
 (0)