Passed
Push — master ( 0ca5af...6ebb62 )
by Dan
08:29
created
src/Examples/YesOrNoPlugin.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         $this->respond($msg);
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $force
58
+     */
56 59
     private function respond(Message $msg, $force = null)
57 60
     {
58 61
         $url = $this->url($force);
@@ -67,6 +70,9 @@  discard block
 block discarded – undo
67 70
             );
68 71
     }
69 72
 
73
+    /**
74
+     * @return string
75
+     */
70 76
     private function url($force = null)
71 77
     {
72 78
         $query = $force ? "?force=$force" : '';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $url = $this->url($force);
59 59
         $this->guzzle->getAsync($url)
60 60
             ->then(
61
-                function (ResponseInterface $response) use ($msg) {
61
+                function(ResponseInterface $response) use ($msg) {
62 62
                     $json = $response->getBody();
63 63
                     $rsp = json_decode($json);
64 64
 
Please login to merge, or discard this patch.