We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f688691 commit b06e510Copy full SHA for b06e510
.github/workflows/ci.yml
@@ -56,6 +56,9 @@ jobs:
56
phpunit: "11"
57
args: ""
58
- version: "8.4"
59
+ phpunit: "12"
60
+ args: ""
61
+ - version: "8.5"
62
phpunit: "12"
63
args: --display-deprecations --display-phpunit-deprecations
64
@@ -94,6 +97,6 @@ jobs:
94
97
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
95
98
- uses: php-actions/composer@v6
96
99
with:
- php_version: "8.4"
100
+ php_version: "8.5"
101
- name: Check compatibility
102
run: composer rector
src/ArrayBuffer.php
@@ -106,6 +106,9 @@ public function push(mixed $item): void {
106
}
107
108
109
+ /**
110
+ * @psalm-return list<E>
111
+ */
112
public function toArray(): array {
113
if($this->buffer->count() > 0){
114
return $this->buffer->toArray();
0 commit comments