summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
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