Skip to content

Commit

Permalink
Merge pull request #23 from Spriz/patch-1
Browse files Browse the repository at this point in the history
Add class alias for `NotFoundException` for Cake 3.5.
  • Loading branch information
ADmad committed Jul 12, 2018
2 parents 38e716f + a41ac13 commit b6f421e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deprecations.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ class_alias(
'Cake\Network\Exception\ForbiddenException',
'Cake\Http\Exception\ForbiddenException'
);

}
if (!class_exists('Cake\Http\Exception\NotFoundException')) {
class_alias(
'Cake\Network\Exception\NotFoundException',
'Cake\Http\Exception\NotFoundException'
Expand Down

0 comments on commit b6f421e

Please sign in to comment.