Completed
Push — develop ( afba25...ca7ea0 )
by Zack
15:50
created
future/includes/rest/class-gv-rest-route.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 				'args'     => $this->create_sub_item_args()
122 122
 			),
123 123
 		) );
124
-		register_rest_route( $namespace, sprintf( '/%s/(?P<id>[\d]+)/%s/(?P<s_id>[\w-]+)%s', $base, $sub_type, $format ) , array(
124
+		register_rest_route( $namespace, sprintf( '/%s/(?P<id>[\d]+)/%s/(?P<s_id>[\w-]+)%s', $base, $sub_type, $format ), array(
125 125
 			array(
126 126
 				'methods'         => \WP_REST_Server::READABLE,
127 127
 				'callback'        => array( $this, 'get_sub_item' ),
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 	 * @return \WP_REST_Response
373 373
 	 */
374 374
 	protected function not_implemented(  ) {
375
-		$error = new \WP_Error( 'not-implemented-yet', __( 'Endpoint Not Yet Implemented.', 'gravityview' )  );
375
+		$error = new \WP_Error( 'not-implemented-yet', __( 'Endpoint Not Yet Implemented.', 'gravityview' ) );
376 376
 		return new \WP_REST_Response( $error, 501 );
377 377
 	}
378 378
 
Please login to merge, or discard this patch.