Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

$this is not available in static context

also this method does return boolean, not void
  • Loading branch information...
commit 32310e56a5471e42d78f18ce17e48b15021b41d8 1 parent 1d32457
@cebe cebe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 System/Daemon.php
View
4 System/Daemon.php
@@ -1336,7 +1336,7 @@ static public function stopRunning()
/**
* Put the running script in background
*
- * @return void
+ * @return boolean
*/
static protected function _summon()
{
@@ -1398,7 +1398,7 @@ static protected function _summon()
// Setup signal handlers
// Handlers for individual signals can be overrulled with
// setSigHandler()
- $this->setSigHandler();
+ self::setSigHandler();
foreach (self::$_sigHandlers as $signal => $handler) {
if (!is_callable($handler) && $handler != SIG_IGN && $handler != SIG_DFL) {
return self::emerg(
Please sign in to comment.
Something went wrong with that request. Please try again.