summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 15:27:28 +0300
committerWolfy-J <[email protected]>2018-01-28 15:27:28 +0300
commit75fb6c2f358ee728147da5bcd9ba089ae3323cbb (patch)
tree31179cff2bb6a3beb340d6535a7154caaf38bf99 /source
parent664743a1d6b62277653c4e33324a9040b8dbfb4d (diff)
head parsing for raw data
Diffstat (limited to 'source')
-rw-r--r--source/Worker.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Worker.php b/source/Worker.php
index f9700f0c..8fdf3070 100644
--- a/source/Worker.php
+++ b/source/Worker.php
@@ -111,7 +111,7 @@ class Worker
*
* @throws GoridgeException
*/
- public function terminate()
+ public function stop()
{
$this->send(null, self::TERMINATE);
}
@@ -142,7 +142,9 @@ class Worker
// PID negotiation (socket connections only)
if (!empty($p['pid'])) {
- $this->relay->send(sprintf('{"pid":%s}', getmypid()), Relay::PAYLOAD_CONTROL);
+ $this->relay->send(
+ sprintf('{"pid":%s}', getmypid()), Relay::PAYLOAD_CONTROL
+ );
}
// termination request