Skip to content

Commit ae2ed36

Browse files
committed
Fix for PHP 8.4
1 parent b09e283 commit ae2ed36

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- "8.0"
4040
- "8.1"
4141
- "8.2"
42+
- "8.3"
43+
- "8.4"
4244

4345
steps:
4446
- name: Checkout.

.github/workflows/static.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- "8.0"
3636
- "8.1"
3737
- "8.2"
38+
- "8.3"
3839

3940
steps:
4041
- name: Checkout.

src/SapiEmitter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class SapiEmitter implements EmitterInterface
3232
* @param int|null $bufferLength
3333
* @throws InvalidArgumentException if buffer length is integer type and less than or one.
3434
*/
35-
public function __construct(int $bufferLength = null)
35+
public function __construct(?int $bufferLength = null)
3636
{
3737
if ($bufferLength !== null && $bufferLength < 1) {
3838
throw new InvalidArgumentException(sprintf(

0 commit comments

Comments
 (0)