@@ -26,7 +26,7 @@ |
||
| 26 | 26 | { |
| 27 | 27 | $result = []; |
| 28 | 28 | foreach ($this->params as $param) { |
| 29 | - $result[ $param->getKey() ] = $param->getValue(); |
|
| 29 | + $result[$param->getKey()] = $param->getValue(); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | return $result; |
@@ -93,9 +93,9 @@ |
||
| 93 | 93 | return filter_input(INPUT_POST, $this->key); |
| 94 | 94 | } |
| 95 | 95 | if ($this->type == self::TYPE_FILE) { |
| 96 | - if (isset($_FILES[$this->key])) { |
|
| 97 | - return $_FILES[$this->key]; |
|
| 98 | - } |
|
| 96 | + if (isset($_FILES[$this->key])) { |
|
| 97 | + return $_FILES[$this->key]; |
|
| 98 | + } |
|
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | throw new Exception("Invalid type"); |