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,9 +66,8 @@ class NativeDriver extends Driver
|
||||
if (!$this->signalHandling) {
|
||||
throw new UnsupportedFeatureException("Signal handling requires the pcntl extension");
|
||||
}
|
||||
|
||||
if (!$this->manualSignalHandling && !pcntl_async_signals()) {
|
||||
pcntl_async_signals(true);
|
||||
if (!$this->manualSignalHandling && !\pcntl_async_signals()) {
|
||||
\pcntl_async_signals(true);
|
||||
}
|
||||
|
||||
return parent::onSignal($signo, $callback, $data);
|
||||
|
Loading…
Reference in New Issue
Block a user