@@ -25,7 +25,7 @@ discard block |
||
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 |
||
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); |
@@ -13,7 +13,6 @@ discard block |
||
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 |
||
25 | 24 | } |
26 | 25 | |
27 | 26 | /** |
28 | - * @return null|ResponseInterface |
|
27 | + * @return ResponseInterface |
|
29 | 28 | */ |
30 | 29 | public function getResponse() |
31 | 30 | { |
@@ -98,9 +98,9 @@ |
||
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 | } |