Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Jun 23, 2014
1 parent deb2da1 commit e0e6d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kdyby/Console/DI/ConsoleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function loadConfiguration()
->addSetup('injectServiceLocator')
->setInject(FALSE);

if (PHP_SAPI === 'CLI') {
if (PHP_SAPI === 'cli') {
$builder->getDefinition('application')
->addSetup('$self = $this; $service->onError[] = function ($app, $e) use ($self) {' . "\n" .
"\t" . '$app->errorPresenter = ?;' . "\n" .
Expand Down

0 comments on commit e0e6d82

Please sign in to comment.