Skip to content

Commit 1e74837

Browse files
Bump Stan
1 parent 9568a17 commit 1e74837

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

phpstan.neon

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
parameters:
2-
level: 4
3-
# reportUnmatchedIgnoredErrors: false
4-
# treatPhpDocTypesAsCertain: false
2+
level: 8
53
paths:
6-
- src/
7-
- tests/
4+
- src/
5+
ignoreErrors:
6+
-
7+
identifier: missingType.generics
8+
-
9+
identifier: missingType.iterableValue

src/ORM/ResultSet.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ class ResultSet implements ResultSetInterface
6969
/**
7070
* Current chunk content.
7171
*
72-
* @var iterable
72+
* @var array<int, mixed>
7373
*/
74-
protected iterable $chunk;
74+
protected array $chunk;
7575

7676
/**
7777
* Current element index.
@@ -267,7 +267,7 @@ public function __serialize(): never
267267
*
268268
* Serialization is not supported (yet). *
269269
*/
270-
public function unserialize($serialized): never
270+
public function unserialize(string $serialized): never
271271
{
272272
throw new RuntimeException('You cannot unserialize this result set.');
273273
}

0 commit comments

Comments
 (0)