Ensure typehints for bool are bool and not boolean

This commit is contained in:
PJ Dietz 2020-08-15 07:53:03 -04:00
parent 36df1f33c1
commit fe0f1ff8f9
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class PrefixRoute extends Route
* Examines a request target to see if it is a match for the route. * Examines a request target to see if it is a match for the route.
* *
* @param string $requestTarget * @param string $requestTarget
* @return boolean * @return bool
*/ */
public function matchesRequestTarget(string $requestTarget): bool public function matchesRequestTarget(string $requestTarget): bool
{ {

View File

@ -16,7 +16,7 @@ class StaticRoute extends Route
* Examines a request target to see if it is a match for the route. * Examines a request target to see if it is a match for the route.
* *
* @param string $requestTarget * @param string $requestTarget
* @return boolean * @return bool
*/ */
public function matchesRequestTarget(string $requestTarget): bool public function matchesRequestTarget(string $requestTarget): bool
{ {