@@ -59,7 +59,9 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | $this->file->call($this->file->to('config/constant.php')); |
| 61 | 61 | |
| 62 | - foreach (glob("routes/**/*.php") as $route) $this->file->call($this->file->to($route)); |
|
| 62 | + foreach (glob("routes/**/*.php") as $route) { |
|
| 63 | + $this->file->call($this->file->to($route)); |
|
| 64 | + } |
|
| 63 | 65 | |
| 64 | 66 | $output = $this->route->getProperRoute(); |
| 65 | 67 | |
@@ -82,7 +84,9 @@ discard block |
||
| 82 | 84 | |
| 83 | 85 | public function share($key, $value) |
| 84 | 86 | { |
| 85 | - if ($value instanceof Closure) $value = call_user_func($value, $this); |
|
| 87 | + if ($value instanceof Closure) { |
|
| 88 | + $value = call_user_func($value, $this); |
|
| 89 | + } |
|
| 86 | 90 | |
| 87 | 91 | $this->container[$key] = $value; |
| 88 | 92 | } |
@@ -46,7 +46,9 @@ |
||
| 46 | 46 | |
| 47 | 47 | public function destroy() |
| 48 | 48 | { |
| 49 | - foreach (array_keys($this->all()) as $key) $this->remove($key); |
|
| 49 | + foreach (array_keys($this->all()) as $key) { |
|
| 50 | + $this->remove($key); |
|
| 51 | + } |
|
| 50 | 52 | |
| 51 | 53 | unset($_COOKIE); |
| 52 | 54 | } |