Passed
Push — master ( 204e2b...dee98e )
by Gallice
03:34
created
src/ActionMapping.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @param string $sessionId
27 27
      * @param Context $context
28
-     * @param string|\Exception $error
28
+     * @param string $error
29 29
      * @param array $step
30 30
      */
31 31
     abstract public function error($sessionId, Context $context, $error = '', array $step = []);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     abstract public function merge($sessionId, Context $context, array $entities);
41 41
 
42 42
     /**
43
-     * @param string $sessionIds
43
+     * @param string $sessionId
44 44
      * @param Context $context
45 45
      */
46 46
     abstract public function stop($sessionId, Context $context);
Please login to merge, or discard this patch.
src/Exception/BadResponseException.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
 
14 14
     /**
15 15
      * @param string $message
16
-     * @param int $statusCode
17 16
      * @param ResponseInterface|null $response
18 17
      */
19 18
     public function __construct($message, ResponseInterface $response = null)
@@ -25,7 +24,7 @@  discard block
 block discarded – undo
25 24
     }
26 25
 
27 26
     /**
28
-     * @return null|ResponseInterface
27
+     * @return ResponseInterface
29 28
      */
30 29
     public function getResponse()
31 30
     {
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,9 +98,9 @@
 block discarded – undo
98 98
     protected function getDefaultHeaders()
99 99
     {
100 100
         return [
101
-            'Authorization' => 'Bearer '. $this->accessToken,
101
+            'Authorization' => 'Bearer '.$this->accessToken,
102 102
             // Used the accept field is needed to fix the API version and avoid BC break from the API
103
-            'Accept' => 'application/vnd.wit.'. self::API_VERSION .'+json',
103
+            'Accept' => 'application/vnd.wit.'.self::API_VERSION.'+json',
104 104
             'Content-Type' => 'application/json',
105 105
         ];
106 106
     }
Please login to merge, or discard this patch.