|
@@ -40,7 +40,7 @@ |
|
|
block discarded – undo |
|
40
|
40
|
public static function configureContainer(LimoncelloContainerInterface $container): void |
|
41
|
41
|
{ |
|
42
|
42
|
$container[ThrowableHandlerInterface::class] = |
|
43
|
|
- function (PsrContainerInterface $container): ThrowableHandlerInterface { |
|
|
43
|
+ function(PsrContainerInterface $container): ThrowableHandlerInterface { |
|
44
|
44
|
$isCli = php_sapi_name() === 'cli'; |
|
45
|
45
|
|
|
46
|
46
|
return $isCli === true ? new WhoopsThrowableTextHandler() : new WhoopsThrowableHtmlHandler(); |
Please login to merge, or discard this patch.