@@ -6,5 +6,8 @@ |
||
6 | 6 | |
7 | 7 | interface ResponseFactoryInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return \JumpCloud\Authorization\AuthorizationResponse |
|
11 | + */ |
|
9 | 12 | public function create(Response $response); |
10 | 13 | } |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public function __construct() |
30 | 30 | { |
31 | 31 | $this->method = 'GET'; |
32 | - $this->headers = []; |
|
32 | + $this->headers = [ ]; |
|
33 | 33 | $this->body = null; |
34 | 34 | } |
35 | 35 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function addHeader($header, $value) |
81 | 81 | { |
82 | - $this->headers[$header] = $value; |
|
82 | + $this->headers[ $header ] = $value; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function __construct($message, $code) |
16 | 16 | { |
17 | - $this->body = ['message' => $message]; |
|
17 | + $this->body = [ 'message' => $message ]; |
|
18 | 18 | $this->code = $code; |
19 | 19 | } |
20 | 20 |