Permalink
Browse files

$this is not available in static context

also this method does return boolean, not void
  • Loading branch information...
1 parent 1d32457 commit 32310e56a5471e42d78f18ce17e48b15021b41d8 @cebe cebe committed Oct 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 System/Daemon.php
View
@@ -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(

0 comments on commit 32310e5

Please sign in to comment.