Skip to content

Commit ef237c5

Browse files
committed
Update psalm-baseline.xml
1 parent c46ad6a commit ef237c5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

psalm-baseline.xml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -606,14 +606,6 @@
606606
<code>addExtension</code>
607607
</UndefinedInterfaceMethod>
608608
</file>
609-
<file src="packages/framework/src/Framework/Concerns/InvokableAction.php">
610-
<TooManyArguments occurrences="1">
611-
<code>new static(...$args)</code>
612-
</TooManyArguments>
613-
<UnsafeInstantiation occurrences="1">
614-
<code>new static(...$args)</code>
615-
</UnsafeInstantiation>
616-
</file>
617609
<file src="packages/framework/src/Framework/Concerns/RegistersFileLocations.php">
618610
<MixedArgument occurrences="3">
619611
<code>$location</code>
@@ -1458,9 +1450,8 @@
14581450
<MixedInferredReturnType occurrences="1">
14591451
<code>string</code>
14601452
</MixedInferredReturnType>
1461-
<MixedReturnStatement occurrences="2">
1453+
<MixedReturnStatement occurrences="1">
14621454
<code>$this-&gt;__call('compile', [])</code>
1463-
<code>AnonymousViewCompiler::call($this-&gt;view, $this-&gt;matter-&gt;toArray())</code>
14641455
</MixedReturnStatement>
14651456
<PossiblyInvalidFunctionCall occurrences="1">
14661457
<code>$macro(...$parameters)</code>
@@ -1476,11 +1467,13 @@
14761467
<ImplementedReturnTypeMismatch occurrences="1">
14771468
<code>array{name: string, path: string}</code>
14781469
</ImplementedReturnTypeMismatch>
1479-
<TooManyArguments occurrences="1">
1480-
<code>new static($path, ...$args)</code>
1481-
</TooManyArguments>
14821470
<UnsafeInstantiation occurrences="1">
1483-
<code>new static($path, ...$args)</code>
1471+
<code>new static($path)</code>
1472+
</UnsafeInstantiation>
1473+
</file>
1474+
<file src="packages/framework/src/Support/Filesystem/SourceFile.php">
1475+
<UnsafeInstantiation occurrences="1">
1476+
<code>new static($path, $pageClass)</code>
14841477
</UnsafeInstantiation>
14851478
</file>
14861479
<file src="packages/framework/src/Support/Models/Redirect.php">

0 commit comments

Comments
 (0)