Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

$this is not available in static context #8

Merged
merged 1 commit into from

2 participants

@cebe

$this is not available in static context

also this method does return boolean, not void

@cebe cebe $this is not available in static context
also this method does return boolean, not void
32310e5
@kvz kvz was assigned
@kvz kvz merged commit 7dfaa2b into kvz:master
@kvz
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 3, 2012
  1. @cebe

    $this is not available in static context

    cebe authored
    also this method does return boolean, not void
This page is out of date. Refresh to see the latest.
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(
Something went wrong with that request. Please try again.