File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,14 @@ public function url_base( $p_repo ) {
6464 }
6565
6666 public function url_repo ( $ p_repo , $ p_changeset = null ) {
67- if ( empty ($ p_repo ->info ) ) return '' ;
67+ if ( empty ( $ p_repo ->info ) ) {
68+ return '' ;
69+ }
6870
6971 $ t_ref = '' ;
70- if ( !is_null ( $ p_changeset ) )
72+ if ( !is_null ( $ p_changeset ) ) {
7173 $ t_ref = "/src/?at= $ p_changeset ->revision " ;
74+ }
7275
7376 return $ this ->url_base ( $ p_repo ) . $ t_ref ;
7477 }
@@ -133,7 +136,6 @@ public function update_repo_form( $p_repo ) {
133136 <?php echo plugin_lang_get ( 'bit_basic_login ' ) ?>
134137 </label>
135138 </th>
136-
137139 <td>
138140 <input id="bit_basic_login" name="bit_basic_login"
139141 type="text" maxlength="250" size="40"
@@ -231,7 +233,7 @@ private function api_json_url_values( $p_repo, $p_url ) {
231233 $ values = [];
232234
233235 if ( property_exists ( $ t_json , 'values ' ) ) {
234- foreach ( $ t_json ->values as $ t_item ) {
236+ foreach ( $ t_json ->values as $ t_item ) {
235237 $ values [] = $ t_item ;
236238 }
237239 }
You can’t perform that action at this time.
0 commit comments