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 5ddfc7b commit 1b5e939Copy full SHA for 1b5e939
1 file changed
src/ExtEventLoop.php
@@ -36,12 +36,10 @@ final class ExtEventLoop implements LoopInterface
36
private $signals;
37
private $signalEvents = array();
38
39
- public function __construct(EventBaseConfig $config = null)
+ public function __construct()
40
{
41
- if ($config === null) {
42
- $config = new EventBaseConfig();
43
- $config->requireFeatures(EventBaseConfig::FEATURE_FDS);
44
- }
+ $config = new EventBaseConfig();
+ $config->requireFeatures(EventBaseConfig::FEATURE_FDS);
45
46
$this->eventBase = new EventBase($config);
47
$this->futureTickQueue = new FutureTickQueue();
0 commit comments