Skip to content

Commit

Permalink
Fixed missing \ in extended Exception. Workaround untill zephir-lang/…
Browse files Browse the repository at this point in the history
…zephir#1907 is fixed.
  • Loading branch information
ruudboon committed Aug 22, 2019
1 parent 0830ac3 commit 98d121b
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 98d121b

Please sign in to comment.