@@ -260,7 +260,7 @@ |
||
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | if (!$isAutoinizialize) { |
| 263 | - if (null != $defaultValue) { |
|
| 263 | + if (null != $defaultValue) { |
|
| 264 | 264 | //TODO: usare "primitive type per determinare il corretto IF" |
| 265 | 265 | //FARE UN TEST PER I BOOLEAN |
| 266 | 266 | //@see https://www.virendrachandak.com/techtalk/php-isset-vs-empty-vs-is_null/ |
@@ -46,6 +46,6 @@ |
||
| 46 | 46 | $checker = new SecurityChecker(); |
| 47 | 47 | $alerts = $checker->check('composer.lock'); |
| 48 | 48 | |
| 49 | - count($alerts) > 0 ? $io->error($alerts) : $io->success('security checked!'); |
|
| 49 | + count($alerts) > 0 ? $io->error($alerts) : $io->success('security checked!'); |
|
| 50 | 50 | } |
| 51 | 51 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public static function setupErrorHandling() |
| 31 | 31 | { |
| 32 | - set_exception_handler(function ($exception) { |
|
| 32 | + set_exception_handler(function($exception) { |
|
| 33 | 33 | self::generateCallTrace($exception); |
| 34 | 34 | }); |
| 35 | 35 | } |