1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

phpcs fix

This commit is contained in:
Daniil Gentili 2019-06-07 19:30:11 +02:00
parent d35ac1bb1c
commit 84d1d4a14a

View File

@ -66,11 +66,10 @@ 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);
}