@@ -25,12 +25,12 @@ |
||
| 25 | 25 | $this->type = $type; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - public function render(){ |
|
| 28 | + public function render() { |
|
| 29 | 29 | $name = $this->name; |
| 30 | 30 | |
| 31 | 31 | // Create an instance of input class |
| 32 | 32 | // then call handle() method to get input as a steing |
| 33 | - if(!is_array($this->type)) { |
|
| 33 | + if (!is_array($this->type)) { |
|
| 34 | 34 | $inputStringClass = static::classMap[$this->type]; |
| 35 | 35 | $input = (new $inputStringClass())->handle($name); |
| 36 | 36 | } else { |