Skip to content

Commit

Permalink
bugfix: incorrect classname for event Module::access_denied
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheg committed Nov 28, 2022
1 parent 09cbe86 commit 9202095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Skeleton/Core/Application/Event/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Module extends \Skeleton\Core\Application\Event {
* @access public
* @param \Skeleton\Core\Application\Web\Module
*/
public function access_denied(\Skeleton\Core\Module $module): void {
public function access_denied(\Skeleton\Core\Application\Module $module): void {
throw new \Exception('Access denied');
}

Expand All @@ -28,6 +28,6 @@ public function access_denied(\Skeleton\Core\Module $module): void {
*/
public function not_found(): void {
\Skeleton\Core\Web\HTTP\Status::code_404('module');
}
}

}

0 comments on commit 9202095

Please sign in to comment.