Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-04 13:17:25 +00:00 committed by StyleCI Bot
parent 6887837b31
commit cedc57d4bf
2 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class API extends APIFactory
} }
Logger::$processed_fork = true; Logger::$processed_fork = true;
} }
return $this->API->__construct($value); return $this->API->__construct($value);
} }

View File

@ -79,6 +79,7 @@ class Logger
if (!self::$can_getmypid) { if (!self::$can_getmypid) {
return false; return false;
} }
try { try {
if (self::$pid === null) { if (self::$pid === null) {
self::$pid = getmypid(); self::$pid = getmypid();