@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | private function checkKeyExists($key) |
| 61 | 61 | { |
| 62 | 62 | if (is_null($this->httpFields[$key])) { |
| 63 | - throw new HttpFieldNotFoundOnCollection('Field ' . $key . ' not found'); |
|
| 63 | + throw new HttpFieldNotFoundOnCollection('Field '.$key.' not found'); |
|
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | 66 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * @param array $httpFields |
| 69 | 69 | * @return HttpFieldCollection |
| 70 | 70 | */ |
| 71 | - public static function fromHttpFieldArray(array $httpFields){ |
|
| 71 | + public static function fromHttpFieldArray(array $httpFields) { |
|
| 72 | 72 | return new self($httpFields); |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | \ No newline at end of file |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * @param string $value |
| 71 | 71 | * @return HttpField |
| 72 | 72 | */ |
| 73 | - public static function fromKeyAndValue(string $key, string $value){ |
|
| 73 | + public static function fromKeyAndValue(string $key, string $value) { |
|
| 74 | 74 | return new self($key, $value); |
| 75 | 75 | } |
| 76 | 76 | } |
| 77 | 77 | \ No newline at end of file |