Fix php error

This commit is contained in:
osaajani 2020-01-17 18:36:53 +01:00
parent b8bd067dc7
commit 9de6697752
11 changed files with 20 additions and 9 deletions

View file

@ -20,6 +20,7 @@ abstract class AbstractDaemon
protected $uniq;
protected $logger;
protected $no_parent;
protected $pid_dir;
private $is_running = true;
private $signals = [
SIGTERM,

View file

@ -118,7 +118,7 @@ class Phone extends AbstractDaemon
if (!$success && MSG_ENOMSG !== $error_code)
{
$this->logger->critical('Error reading MSG SEND Queue, error code : '.$error);
$this->logger->critical('Error reading MSG SEND Queue, error code : '.$error_code);
return false;
}