Passed
Branch master (cc4f12)
by Shiyu
02:28
created
Category
src/Chips/LookupAssigned.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function hasLookupd() : bool
34 34
     {
35
-        return ! is_null($this->lookupd);
35
+        return !is_null($this->lookupd);
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Chips/InteractiveChan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,6 @@
 block discarded – undo
39 39
      */
40 40
     private function queued() : bool
41 41
     {
42
-        return !! $this->chan;
42
+        return !!$this->chan;
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Protocol/Buffer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function valid() : bool
42 42
     {
43
-        return ! $this->eof();
43
+        return !$this->eof();
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/Protocol/Subscribe.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function __construct(Promised $connected, Nsqd $nsqd, Consuming $consuming)
25 25
     {
26
-        go(static function () use ($connected, $nsqd, $consuming) {
26
+        go(static function() use ($connected, $nsqd, $consuming) {
27 27
             if (yield $connected) {
28 28
                 if (yield $nsqd->sub($consuming->topic(), $consuming->channel())) {
29 29
                     $nsqd->rdy($consuming->concurrency());
Please login to merge, or discard this patch.
src/Components/Lookupd.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $this->observers[] = $observer;
69 69
 
70
-        $querying = function () use ($topic) {
70
+        $querying = function() use ($topic) {
71 71
             /**
72 72
              * @var Response $response
73 73
              */
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $response = yield $this->http->perform($request);
77 77
             switch ($response->getStatusCode()) {
78 78
                 case 200:
79
-                    $endpoints = $this->parsing((string)$response->getBody());
79
+                    $endpoints = $this->parsing((string) $response->getBody());
80 80
                     if ($this->observers) {
81 81
                         foreach ($this->observers as $observer) {
82 82
                             yield $observer($endpoints);
Please login to merge, or discard this patch.