Passed
Pull Request — master (#6)
by Joseph
02:15
created
shortcodes/subway-shortcodes.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -77,19 +77,19 @@
 block discarded – undo
77 77
 
78 78
 			if ( $theme_template = locate_template( array('gears/shortcodes/'.$file ) ) ) {
79 79
 
80
-	        	$template = $theme_template;
80
+				$template = $theme_template;
81 81
 
82
-	    	}
82
+			}
83 83
 
84
-	    	include $template;
84
+			include $template;
85 85
 
86
-    	} else {
86
+		} else {
87 87
 
88
-	    	echo sprintf( esc_html_e( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template );
88
+			echo sprintf( esc_html_e( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template );
89 89
 
90
-	    }
90
+		}
91 91
 
92
-	    return ob_get_clean();
92
+		return ob_get_clean();
93 93
 	}
94 94
 
95 95
 	public function login_form_action( $__content ) {
Please login to merge, or discard this patch.
classes/subway-auth-redirect.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 		}
159 159
 
160 160
 		// Otherwise, return the Subway login page.
161
-	    return $subway_login_page;
161
+		return $subway_login_page;
162 162
 
163 163
 	}
164 164
 
Please login to merge, or discard this patch.
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,6 @@
 block discarded – undo
78 78
 	 * Returns the filtered redirect url for the current user.
79 79
 	 *
80 80
 	 * @param  string  $redirect_to The default redirect callback argument.
81
-	 * @param  string  $request     The default redirect request callback argument.
82
-	 * @param  integer $user        The current user logging in.
83 81
 	 * @return string               The final redirect url.
84 82
 	 */
85 83
 	public static function get_login_redirect_url( $redirect_to ) {
Please login to merge, or discard this patch.