Skip to content

Commit

Permalink
phalcon#13758: Phalcon\Exception implements \Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronHall committed Jan 20, 2019
1 parent 48fad40 commit de63879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Changed the `Phalcon\Version::get()` to follow [semantic versioning](https://semver.org/) [#13720](https://github.com/phalcon/cphalcon/pull/13720)
- Changed the `Phalcon\Translate\Adapter\NativeArray` to accept a new parameter in the constructor `triggerError`. This will trigger an error if the key is not found [#13007](https://github.com/phalcon/cphalcon/pull/13007)
- Changed the default action of `Phalcon\Acl\Memory`to be `Acl::DENY` instead of `Acl::ALLOW` [#13758](https://github.com/phalcon/cphalcon/pull/13758)
- Changed `Phalcon\Exception` to implement `\Throwable` interface.[#13750](https://github.com/phalcon/cphalcon/pull/13758)

# [4.0.0-alpha1](https://github.com/phalcon/cphalcon/releases/tag/v4.0.0-alpha1) (2018-12-25)
## Added
Expand Down
2 changes: 1 addition & 1 deletion phalcon/exception.zep
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Phalcon;
*
* All framework exceptions should use or extend this exception
*/
class Exception extends \Exception
class Exception extends \Exception implements \Throwable
{

}

0 comments on commit de63879

Please sign in to comment.