Ensure typehints for bool are bool and not boolean
This commit is contained in:
parent
36df1f33c1
commit
fe0f1ff8f9
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue