Skip to content

Commit 83596a6

Browse files
Disabled constructor by maknig private (removed LogicException)
1 parent 4195b46 commit 83596a6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/EventLoop.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,5 @@ public static function unreference($eventIdentifier)
213213
/**
214214
* Disable construction as this is a static class.
215215
*/
216-
public function __construct()
217-
{
218-
throw new \LogicException('This class is a static class and should not be initialized');
219-
}
216+
private function __construct() {}
220217
}

0 commit comments

Comments
 (0)