Skip to content

Commit 0fc4aa4

Browse files
committed
update psalm-baseline
1 parent 319fbf8 commit 0fc4aa4

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
@@ -291,15 +291,16 @@
291291
</MixedReturnStatement>
292292
</file>
293293
<file src="src/Model/SearchIndexInput.php">
294-
<DocblockTypeContradiction occurrences="1">
294+
<DocblockTypeContradiction occurrences="2">
295+
<code>! is_array($index['definition']) &amp;&amp; ! is_object($index['definition'])</code>
295296
<code>is_string($index['name'])</code>
296297
</DocblockTypeContradiction>
297298
<MixedReturnStatement occurrences="1">
298299
<code>$this-&gt;index['name']</code>
299300
</MixedReturnStatement>
300-
<RedundantConditionGivenDocblockType occurrences="1">
301-
<code>! is_array($index['definition']) &amp;&amp; ! is_object($index['definition'])</code>
302-
</RedundantConditionGivenDocblockType>
301+
<PossiblyInvalidPropertyFetch occurrences="1">
302+
<code>$index['definition']-&gt;mappings</code>
303+
</PossiblyInvalidPropertyFetch>
303304
</file>
304305
<file src="src/Operation/Aggregate.php">
305306
<MixedArgument occurrences="2">
@@ -728,9 +729,9 @@
728729
</DocblockTypeContradiction>
729730
</file>
730731
<file src="src/Operation/UpdateSearchIndex.php">
731-
<RedundantConditionGivenDocblockType occurrences="1">
732-
<code>! is_object($definition)</code>
733-
</RedundantConditionGivenDocblockType>
732+
<DocblockTypeContradiction occurrences="1">
733+
<code>! is_array($definition) &amp;&amp; ! is_object($definition)</code>
734+
</DocblockTypeContradiction>
734735
</file>
735736
<file src="src/Operation/Watch.php">
736737
<DocblockTypeContradiction occurrences="1">

0 commit comments

Comments
 (0)