Skip to content

Commit 88174d5

Browse files
committed
update psalm-baseline
1 parent 268dbdd commit 88174d5

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

psalm-baseline.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,16 @@
288288
</MixedReturnStatement>
289289
</file>
290290
<file src="src/Model/SearchIndexInput.php">
291-
<DocblockTypeContradiction occurrences="1">
291+
<DocblockTypeContradiction occurrences="2">
292+
<code>! is_array($index['definition']) &amp;&amp; ! is_object($index['definition'])</code>
292293
<code>is_string($index['name'])</code>
293294
</DocblockTypeContradiction>
294295
<MixedReturnStatement occurrences="1">
295296
<code>$this-&gt;index['name']</code>
296297
</MixedReturnStatement>
297-
<RedundantConditionGivenDocblockType occurrences="1">
298-
<code>! is_array($index['definition']) &amp;&amp; ! is_object($index['definition'])</code>
299-
</RedundantConditionGivenDocblockType>
298+
<PossiblyInvalidPropertyFetch occurrences="1">
299+
<code>$index['definition']-&gt;mappings</code>
300+
</PossiblyInvalidPropertyFetch>
300301
</file>
301302
<file src="src/Operation/Aggregate.php">
302303
<MixedArgument occurrences="2">
@@ -726,9 +727,9 @@
726727
</DocblockTypeContradiction>
727728
</file>
728729
<file src="src/Operation/UpdateSearchIndex.php">
729-
<RedundantConditionGivenDocblockType occurrences="1">
730-
<code>! is_object($definition)</code>
731-
</RedundantConditionGivenDocblockType>
730+
<DocblockTypeContradiction occurrences="1">
731+
<code>! is_array($definition) &amp;&amp; ! is_object($definition)</code>
732+
</DocblockTypeContradiction>
732733
</file>
733734
<file src="src/Operation/Watch.php">
734735
<DocblockTypeContradiction occurrences="1">

0 commit comments

Comments
 (0)