mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +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);
|
fclose($pipe);
|
||||||
}
|
}
|
||||||
|
|
||||||
$status = trim(proc_close($resource));
|
$status = trim((string) proc_close($resource));
|
||||||
|
|
||||||
if ($status == -1) {
|
if ($status == -1) {
|
||||||
throw new \Exception($stderr);
|
throw new \Exception($stderr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user