@@ -6,7 +6,6 @@ |
||
6 | 6 | * Class InvalidRequestURLException |
7 | 7 | * @package LunixREST\APIRequest\URLParser\Exceptions |
8 | 8 | */ |
9 | -class InvalidRequestURLException extends \Exception |
|
10 | -{ |
|
9 | +class InvalidRequestURLException extends \Exception { |
|
11 | 10 | |
12 | 11 | } |
@@ -6,8 +6,7 @@ discard block |
||
6 | 6 | * Class ParsedHeaders |
7 | 7 | * @package LunixREST\APIRequest\HeaderParser |
8 | 8 | */ |
9 | -class ParsedHeaders |
|
10 | -{ |
|
9 | +class ParsedHeaders { |
|
11 | 10 | /** |
12 | 11 | * @var array |
13 | 12 | */ |
@@ -27,8 +26,7 @@ discard block |
||
27 | 26 | * @param array $acceptableMIMETypes |
28 | 27 | * @param $APIKey |
29 | 28 | */ |
30 | - public function __construct($contentType, array $acceptableMIMETypes, $APIKey) |
|
31 | - { |
|
29 | + public function __construct($contentType, array $acceptableMIMETypes, $APIKey) { |
|
32 | 30 | $this->contentType = $contentType; |
33 | 31 | $this->acceptableMIMETypes = $acceptableMIMETypes; |
34 | 32 | $this->APIKey = $APIKey; |
@@ -37,8 +35,7 @@ discard block |
||
37 | 35 | /** |
38 | 36 | * @return mixed |
39 | 37 | */ |
40 | - public function getContentType() |
|
41 | - { |
|
38 | + public function getContentType() { |
|
42 | 39 | return $this->contentType; |
43 | 40 | } |
44 | 41 | |
@@ -53,8 +50,7 @@ discard block |
||
53 | 50 | /** |
54 | 51 | * @return mixed |
55 | 52 | */ |
56 | - public function getAPIKey() |
|
57 | - { |
|
53 | + public function getAPIKey() { |
|
58 | 54 | return $this->APIKey; |
59 | 55 | } |
60 | 56 | } |
@@ -6,8 +6,7 @@ |
||
6 | 6 | * Interface HeaderParser |
7 | 7 | * @package LunixREST\APIRequest\HeaderParser |
8 | 8 | */ |
9 | -interface HeaderParser |
|
10 | -{ |
|
9 | +interface HeaderParser { |
|
11 | 10 | /** |
12 | 11 | * @param array $headers |
13 | 12 | * @return ParsedHeaders |