mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-17 20:38:41 +00:00
Fix strict type bug
This commit is contained in:
parent
0261b8d2da
commit
0e99d29b6e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user