Fix strict type bug

This commit is contained in:
Dennis Eichhorn 2017-01-29 19:10:29 +01:00
parent 0261b8d2da
commit 0e99d29b6e

View File

@ -70,7 +70,7 @@ class TaskScheduler extends SchedulerAbstract
fclose($pipe);
}
$status = trim(proc_close($resource));
$status = trim((string) proc_close($resource));
if ($status == -1) {
throw new \Exception($stderr);