mirror of
https://github.com/danog/amp.git
synced 2024-11-26 20:15:00 +01:00
phpcs fix
This commit is contained in:
parent
d35ac1bb1c
commit
84d1d4a14a
@ -66,11 +66,10 @@ class NativeDriver extends Driver
|
|||||||
if (!$this->signalHandling) {
|
if (!$this->signalHandling) {
|
||||||
throw new UnsupportedFeatureException("Signal handling requires the pcntl extension");
|
throw new UnsupportedFeatureException("Signal handling requires the pcntl extension");
|
||||||
}
|
}
|
||||||
|
if (!$this->manualSignalHandling && !\pcntl_async_signals()) {
|
||||||
if (!$this->manualSignalHandling && !pcntl_async_signals()) {
|
\pcntl_async_signals(true);
|
||||||
pcntl_async_signals(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::onSignal($signo, $callback, $data);
|
return parent::onSignal($signo, $callback, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user