@@ -24,9 +24,9 @@ discard block |
||
| 24 | 24 | * @return self |
| 25 | 25 | * @code 101 |
| 26 | 26 | */ |
| 27 | - public static function namespace_not_defined( string $route ): self { |
|
| 27 | + public static function namespace_not_defined(string $route): self { |
|
| 28 | 28 | return new self( |
| 29 | - sprintf( 'Namespace not defined in %s', $route ), |
|
| 29 | + sprintf('Namespace not defined in %s', $route), |
|
| 30 | 30 | 101 |
| 31 | 31 | ); |
| 32 | 32 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @return self |
| 39 | 39 | * @code 102 |
| 40 | 40 | */ |
| 41 | - public static function callback_not_defined( Route $route ): self { |
|
| 41 | + public static function callback_not_defined(Route $route): self { |
|
| 42 | 42 | // Set the namespace if exists. |
| 43 | 43 | $namespace = '' !== $route->get_namespace() |
| 44 | 44 | ? $route->get_namespace() |
@@ -47,9 +47,9 @@ discard block |
||
| 47 | 47 | return new self( |
| 48 | 48 | sprintf( |
| 49 | 49 | 'Callback not defined for [%s] %s%s', |
| 50 | - strtoupper( $route->get_method() ), |
|
| 51 | - strtoupper( $namespace ), |
|
| 52 | - strtoupper( $route->get_route() ) |
|
| 50 | + strtoupper($route->get_method()), |
|
| 51 | + strtoupper($namespace), |
|
| 52 | + strtoupper($route->get_route()) |
|
| 53 | 53 | ), |
| 54 | 54 | 102 |
| 55 | 55 | ); |
@@ -61,11 +61,11 @@ discard block |
||
| 61 | 61 | * @param Route $route |
| 62 | 62 | * @return self |
| 63 | 63 | */ |
| 64 | - public static function invalid_http_method( Route $route ): self { |
|
| 64 | + public static function invalid_http_method(Route $route): self { |
|
| 65 | 65 | return new self( |
| 66 | 66 | sprintf( |
| 67 | 67 | '%s is a none supported HTTP Mehtod.', |
| 68 | - strtoupper( $route->get_method() ) |
|
| 68 | + strtoupper($route->get_method()) |
|
| 69 | 69 | ), |
| 70 | 70 | 103 |
| 71 | 71 | ); |