Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
fix typo ( C\empty() -> C\is_empty() )
Browse files Browse the repository at this point in the history
  • Loading branch information
azjezz authored Oct 31, 2019
1 parent cccc784 commit 6bf0772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/BaseRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final public function routeMethodAndPath(
continue;
}
}
if (!C\empty($allowed)) {
if (!C\is_empty($allowed)) {
throw new MethodNotAllowedException($allowed);
}

Expand Down

0 comments on commit 6bf0772

Please sign in to comment.