| @@ -36,7 +36,7 @@ discard block | ||
| 36 | 36 | $this->handle = $clientHandle; | 
| 37 | 37 | $this->conntected = false; | 
| 38 | 38 | |
| 39 | -        if (! is_resource($clientHandle)) { | |
| 39 | +        if (!is_resource($clientHandle)) { | |
| 40 | 40 | parent::__construct($endpoint); | 
| 41 | 41 | } | 
| 42 | 42 | } | 
| @@ -48,7 +48,7 @@ discard block | ||
| 48 | 48 | */ | 
| 49 | 49 | public function connect() | 
| 50 | 50 |      { | 
| 51 | -        if (! @socket_connect($this->handle, $this->endpoint->getAddress(), $this->endpoint->getPort())) { | |
| 51 | +        if (!@socket_connect($this->handle, $this->endpoint->getAddress(), $this->endpoint->getPort())) { | |
| 52 | 52 | $code = socket_last_error($this->handle); | 
| 53 | 53 | throw new SocketException(socket_strerror($code), array(), $code); | 
| 54 | 54 | } | 
| @@ -62,7 +62,7 @@ discard block | ||
| 62 | 62 | */ | 
| 63 | 63 | public function disconnect() | 
| 64 | 64 |      { | 
| 65 | -        if (! $this->conntected) { | |
| 65 | +        if (!$this->conntected) { | |
| 66 | 66 |              throw new SocketException("Socket is not connected"); | 
| 67 | 67 | } | 
| 68 | 68 | |
| @@ -96,7 +96,7 @@ discard block | ||
| 96 | 96 | */ | 
| 97 | 97 | public function isWriteable() | 
| 98 | 98 |      { | 
| 99 | -        if (! $this->isConnected()) { | |
| 99 | +        if (!$this->isConnected()) { | |
| 100 | 100 | return false; | 
| 101 | 101 | } | 
| 102 | 102 | |