Passed
Pull Request — master (#21)
by Glynn
02:06
created
src/Route_Exception.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 		);
Please login to merge, or discard this patch.