Skip to content

Commit

Permalink
[phalcon#14213] - Fixed exception codes
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Jul 1, 2019
1 parent 5c1f90f commit 3c3286c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phalcon/Cli/Dispatcher.zep
Expand Up @@ -119,7 +119,7 @@ class Dispatcher extends CliDispatcher implements DispatcherInterface
if typeof container != "object" {
this->{"throwDispatchException"}(
Exception::containerServiceNotFound("the 'filter' service"),
CliDispatcher::EXCEPTION_NO_DI
Exception::EXCEPTION_NO_DI
);
}

Expand Down
2 changes: 1 addition & 1 deletion phalcon/Mvc/Dispatcher.zep
Expand Up @@ -226,7 +226,7 @@ class Dispatcher extends BaseDispatcher implements DispatcherInterface
if unlikely typeof container != "object" {
throw new Exception(
Exception::containerServiceNotFound("the 'response' service"),
BaseDispatcher::EXCEPTION_NO_DI
Exception::EXCEPTION_NO_DI
);
}

Expand Down

0 comments on commit 3c3286c

Please sign in to comment.