@@ -72,8 +72,9 @@ |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | public function setCallable($callback) { |
| 75 | - if (is_callable($callback)) |
|
| 76 | - $this->callable = $callback; |
|
| 75 | + if (is_callable($callback)) { |
|
| 76 | + $this->callable = $callback; |
|
| 77 | + } |
|
| 77 | 78 | } |
| 78 | 79 | |
| 79 | 80 | /** |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * Creates an instance of Tight Framework. |
| 67 | - * @param array|TightConfig $config Settings to override the config file |
|
| 67 | + * @param TightConfig $config Settings to override the config file |
|
| 68 | 68 | */ |
| 69 | 69 | public function __construct($config = []) { |
| 70 | 70 | // Sets the instance |