-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use
new
keyword everywhere.
Follow up of previous commit.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.20.0@f82a70e7edfc6cf2705e9374c8a0b6a974a779ed"> | ||
<file src="src/Collection.php"> | ||
<InvalidArgument occurrences="5"> | ||
<code>$callback</code> | ||
<code>$callback</code> | ||
<code>$callback</code> | ||
<code>$callback</code> | ||
<code>$callback</code> | ||
</InvalidArgument> | ||
<InvalidReturnStatement occurrences="1"> | ||
<code>new self((new Wrap())(), [$this])</code> | ||
</InvalidReturnStatement> | ||
<InvalidReturnType occurrences="1"> | ||
<code>CollectionInterface</code> | ||
</InvalidReturnType> | ||
<InvalidScalarArgument occurrences="1"> | ||
<code>$callable</code> | ||
</InvalidScalarArgument> | ||
<LessSpecificReturnStatement occurrences="1"> | ||
<code>new self((new Zip())()(...$iterables), [$this])</code> | ||
</LessSpecificReturnStatement> | ||
<MoreSpecificReturnType occurrences="1"> | ||
<code>CollectionInterface</code> | ||
</MoreSpecificReturnType> | ||
<PossiblyInvalidArgument occurrences="2"> | ||
<code>$callbackForKeys ?? $defaultCallback</code> | ||
<code>$callbackForValues ?? $defaultCallback</code> | ||
</PossiblyInvalidArgument> | ||
<PossiblyNullArgument occurrences="1"> | ||
<code>$callback</code> | ||
</PossiblyNullArgument> | ||
</file> | ||
<file src="src/Operation/All.php"> | ||
<InvalidReturnStatement occurrences="1"/> | ||
<InvalidReturnType occurrences="1"> | ||
<code>Closure(bool): Closure(iterable<TKey, T>): (Generator<int, T>|Generator<TKey, T>)</code> | ||
</InvalidReturnType> | ||
</file> | ||
</files> |