@@ -41,7 +41,7 @@ |
||
| 41 | 41 | if (is_callable($cb)) {
|
| 42 | 42 | return $cb; |
| 43 | 43 | } else {
|
| 44 | - return function () use ($cb) { return $cb; };
|
|
| 44 | + return function() use ($cb) { return $cb; };
|
|
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | $this->handleDeprecatedConfigValues(); |
| 14 | 14 | |
| 15 | - $this->app->singleton('lern', function () { |
|
| 15 | + $this->app->singleton('lern', function() { |
|
| 16 | 16 | return new LERN; |
| 17 | 17 | }); |
| 18 | 18 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $class = !empty($class) ? $class : ExceptionModel::class; |
| 70 | 70 | |
| 71 | 71 | $model = new $class(); |
| 72 | - foreach($opts as $key => $value) {
|
|
| 72 | + foreach ($opts as $key => $value) {
|
|
| 73 | 73 | $model->{$key} = $value;
|
| 74 | 74 | } |
| 75 | 75 | |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | return $this->getStatusCode($e); |
| 118 | 118 | default: |
| 119 | - ddd();// what to do here ?????????? |
|
| 119 | + ddd(); // what to do here ?????????? |
|
| 120 | 120 | // throw new Exception("{$key} is not supported! Therefore it cannot be collected!");
|
| 121 | 121 | } |
| 122 | 122 | } |