Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit b9a4e38

Browse files
authored
Merge pull request #18 from xHeaven/hotfix/php84-deprecation
Fix PHP 8.4 implicit nullable deprecation
2 parents 578e0ef + 2134211 commit b9a4e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpPendingRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HttpPendingRequest extends PendingRequest
1717
*
1818
* @param array<int, callable> $middleware
1919
*/
20-
public function __construct(Factory $factory = null, array $middleware = [])
20+
public function __construct(?Factory $factory = null, array $middleware = [])
2121
{
2222
parent::__construct($factory, $middleware);
2323

0 commit comments

Comments
 (0)