Skip to content

Commit 3b374b2

Browse files
Copilotvoku
andauthored
Use identifier-based PHPStan suppression
Agent-Logs-Url: https://github.com/voku/Stringy/sessions/5652f31c-3d0b-41ba-aeb9-bc0f5be2420e Co-authored-by: voku <264695+voku@users.noreply.github.com>
1 parent dd46bf9 commit 3b374b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CollectionStringy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function create(
3535
string $iteratorClass = \Arrayy\ArrayyIterator::class,
3636
bool $checkPropertiesInConstructor = true
3737
) {
38-
/** @phpstan-ignore-next-line */
38+
/** @phpstan-ignore return.type (generic static<TCreate> is not preserved through new static) */
3939
return new static(
4040
$data,
4141
$iteratorClass,

0 commit comments

Comments
 (0)