Skip to content

Commit c9f4992

Browse files
committed
update psalm-baseline
1 parent 4104fee commit c9f4992

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">
@@ -752,9 +753,9 @@
752753
</DocblockTypeContradiction>
753754
</file>
754755
<file src="src/Operation/UpdateSearchIndex.php">
755-
<RedundantConditionGivenDocblockType occurrences="1">
756-
<code>! is_object($definition)</code>
757-
</RedundantConditionGivenDocblockType>
756+
<DocblockTypeContradiction occurrences="1">
757+
<code>! is_array($definition) &amp;&amp; ! is_object($definition)</code>
758+
</DocblockTypeContradiction>
758759
</file>
759760
<file src="src/Operation/Watch.php">
760761
<DocblockTypeContradiction occurrences="1">

0 commit comments

Comments
 (0)