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 16d653f commit 0409cb2Copy full SHA for 0409cb2
composer.json
@@ -28,7 +28,7 @@
28
"require": {
29
"php": ">=8.1",
30
"react/event-loop": "^1.2",
31
- "react/promise": "^3.0 || ^2.8 || ^1.2.1"
+ "react/promise": "^3.2 || ^2.8 || ^1.2.1"
32
},
33
"require-dev": {
34
"phpstan/phpstan": "1.10.39",
src/FiberFactory.php
@@ -22,7 +22,7 @@ public static function create(): FiberInterface
22
return (self::factory())();
23
}
24
25
- public static function factory(\Closure $factory = null): \Closure
+ public static function factory(?\Closure $factory = null): \Closure
26
{
27
if ($factory !== null) {
self::$factory = $factory;
0 commit comments