mirror of
https://github.com/danog/amp.git
synced 2024-12-02 17:37:50 +01:00
Disabled constructor by maknig private (removed LogicException)
This commit is contained in:
parent
4195b46440
commit
83596a6b7a
@ -213,8 +213,5 @@ final class EventLoop
|
||||
/**
|
||||
* Disable construction as this is a static class.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
throw new \LogicException('This class is a static class and should not be initialized');
|
||||
}
|
||||
private function __construct() {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user