From 87f82ee2d40ebae4487b3c6d1cc2073bc87bf41e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 27 May 2017 23:50:38 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Thread.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Thread.php b/src/Thread.php index 79d68e7b..ab6a9f98 100644 --- a/src/Thread.php +++ b/src/Thread.php @@ -32,7 +32,9 @@ if (!extension_loaded('pthreads')) { public function start() { - if (!isset($this->state)) $this->state = 0; + if (!isset($this->state)) { + $this->state = 0; + } if ($this->state & self::STARTED) { throw new \RuntimeException(); }