Completed
Push — master ( 2fde8c...15bdae )
by John
02:29
created
src/APIRequest/URLParser/Exceptions/InvalidRequestURLException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/APIRequest/HeaderParser/ParsedHeaders.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/APIRequest/HeaderParser/HeaderParser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.