This commit is contained in:
Daniil Gentili 2017-05-28 03:34:08 +01:00
commit 841b95f54e

View File

@ -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();
}