Passed
Push — master ( d87c6c...60d5d8 )
by Glynn
06:35 queued 04:41
created
src/Route/Abstract_Route.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
 	 * @param Argument $argument
56 56
 	 * @return static
57 57
 	 */
58
-	public function argument( Argument $argument ) {
59
-		$this->arguments[ $argument->get_key() ] = $argument;
58
+	public function argument(Argument $argument) {
59
+		$this->arguments[$argument->get_key()] = $argument;
60 60
 		return $this;
61 61
 	}
62 62
 
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
 	 * @param string $key
67 67
 	 * @return bool
68 68
 	 */
69
-	public function has_argument( string $key ): bool {
70
-		return \array_key_exists( $key, $this->arguments );
69
+	public function has_argument(string $key): bool {
70
+		return \array_key_exists($key, $this->arguments);
71 71
 	}
72 72
 
73 73
 	/**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	 * @param callable(\WP_REST_Request): bool $auth_callback
77 77
 	 * @return static
78 78
 	 */
79
-	public function authentication( callable $auth_callback ) {
79
+	public function authentication(callable $auth_callback) {
80 80
 		$this->authentication[] = $auth_callback;
81 81
 		return $this;
82 82
 	}
Please login to merge, or discard this patch.