Skip to content

Commit

Permalink
Merge pull request #26 from ruudboon/4.x
Browse files Browse the repository at this point in the history
Fixed missing \ in extended Exception.
  • Loading branch information
ruudboon authored Aug 22, 2019
2 parents 5c1c775 + 98d121b commit 2059b1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Phalcon/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* All framework exceptions should use or extend this exception
*/
class Exception extends Exception implements \Throwable
class Exception extends \Exception implements \Throwable
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Phalcon/cache/exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Exceptions thrown in Phalcon\Cache will use this class
*/
class Exception extends Exception implements \Psr\SimpleCache\CacheException
class Exception extends \Exception implements \Psr\SimpleCache\CacheException
{

}
2 changes: 1 addition & 1 deletion src/Phalcon/cache/exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Exceptions thrown in Phalcon\Cache will use this class
*/
class InvalidArgumentException extends Exception implements \Psr\SimpleCache\InvalidArgumentException
class InvalidArgumentException extends \Exception implements \Psr\SimpleCache\InvalidArgumentException
{

}
2 changes: 1 addition & 1 deletion src/Phalcon/collection/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Exceptions for the Collection object
*/
class Exception extends Exception implements \Throwable
class Exception extends \Exception implements \Throwable
{

}

0 comments on commit 2059b1d

Please sign in to comment.