Skip to content

Commit eeee29e

Browse files
committed
Update psalm baseline
1 parent 43a02ce commit eeee29e

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

psalm-baseline.xml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,9 @@
378378
</ClassMustBeFinal>
379379
</file>
380380
<file src="src/Factory.php">
381-
<InvalidArgument>
382-
<code><![CDATA[$database]]></code>
383-
</InvalidArgument>
384-
<InvalidCast>
385-
<code><![CDATA[$database]]></code>
386-
</InvalidCast>
381+
<ArgumentTypeCoercion>
382+
<code><![CDATA[$role]]></code>
383+
</ArgumentTypeCoercion>
387384
<InvalidPropertyAssignmentValue>
388385
<code><![CDATA[[
389386
SchemaInterface::REPOSITORY => Repository::class,
@@ -472,9 +469,6 @@
472469
<code><![CDATA[$class]]></code>
473470
<code><![CDATA[$e->getCode()]]></code>
474471
</PossiblyInvalidArgument>
475-
<TooFewArguments>
476-
<code><![CDATA[new Typecast($database)]]></code>
477-
</TooFewArguments>
478472
</file>
479473
<file src="src/Heap/Heap.php">
480474
<InvalidNullableReturnType>
@@ -2014,8 +2008,6 @@
20142008
<code><![CDATA[\IteratorAggregate]]></code>
20152009
</MissingTemplateParam>
20162010
<MixedArgument>
2017-
<code><![CDATA[$data[0]]]></code>
2018-
<code><![CDATA[$node->getResult()]]></code>
20192011
<code><![CDATA[$subOption]]></code>
20202012
<code><![CDATA[$subOption + $options]]></code>
20212013
</MixedArgument>
@@ -2050,17 +2042,18 @@
20502042
$this->schema,
20512043
$this->entityFactory,
20522044
$this->loader->getTarget(),
2053-
$node->getResult(),
2045+
$this->loadData(),
20542046
$findInHeap,
20552047
typecast: true,
20562048
)]]></code>
20572049
<code><![CDATA[Iterator<TEntity>]]></code>
2058-
<code><![CDATA[\array_map([$mapper, 'cast'], $node->getResult())]]></code>
2059-
<code><![CDATA[array<array-key, array<string, mixed>>]]></code>
2050+
<code><![CDATA[\array_map([$mapper, 'cast'], $this->loadData(false))]]></code>
2051+
<code><![CDATA[array<array-key, array<non-empty-string, mixed>>]]></code>
2052+
<code><![CDATA[array<array-key, array<non-empty-string, mixed>>]]></code>
20602053
</MixedReturnTypeCoercion>
2061-
<PossiblyInvalidArgument>
2062-
<code><![CDATA[$node->getResult()]]></code>
2063-
</PossiblyInvalidArgument>
2054+
<PossiblyFalseArgument>
2055+
<code><![CDATA[\reset($pk)]]></code>
2056+
</PossiblyFalseArgument>
20642057
</file>
20652058
<file src="src/Select/AbstractLoader.php">
20662059
<MixedArgument>

0 commit comments

Comments
 (0)