@@ -153,7 +153,7 @@ |
||
| 153 | 153 | */ |
| 154 | 154 | public function setBody($body) |
| 155 | 155 | { |
| 156 | - $this->body = $body; |
|
| 156 | + $this->body = $body; |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
@@ -7,8 +7,6 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace Faulancer\Http; |
| 9 | 9 | |
| 10 | -use Faulancer\Exception\InvalidArgumentException; |
|
| 11 | - |
|
| 12 | 10 | /** |
| 13 | 11 | * Class Request |
| 14 | 12 | */ |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | if (empty($this->getType()) && !empty($this->definition['type'])) { |
| 298 | - $this->setType($this->definition['type']); |
|
| 298 | + $this->setType($this->definition['type']); |
|
| 299 | 299 | } |
| 300 | 300 | |
| 301 | 301 | if (empty($this->getValue()) && !empty($this->definition['value'])) { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Faulancer\Event\Observer; |
| 6 | 6 | use Faulancer\Event\Type\OnDispatch; |
| 7 | 7 | use Faulancer\Exception\IncompatibleResponseException; |
| 8 | -use Faulancer\Exception\ServiceNotFoundException; |
|
| 9 | 8 | use Faulancer\Http\Http; |
| 10 | 9 | use Faulancer\Http\JsonResponse; |
| 11 | 10 | use Faulancer\Http\Request; |