From 83596a6b7a2d6b0caa2704c602320c0029d99935 Mon Sep 17 00:00:00 2001 From: Andrew Carter Date: Thu, 12 May 2016 12:27:24 +0100 Subject: [PATCH] Disabled constructor by maknig private (removed LogicException) --- src/EventLoop.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/EventLoop.php b/src/EventLoop.php index ceb60da..c1f6b20 100644 --- a/src/EventLoop.php +++ b/src/EventLoop.php @@ -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() {} }