Passed
Branch master (b60f1b)
by smiley
02:48
created
example/create_help.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@  discard block
 block discarded – undo
51 51
 		$temp_commands[--$j]->shortdesc .= ' '.trim($cmd[1]);
52 52
 
53 53
 		continue;
54
-	}
55
-	elseif($c->command === 'help'){
54
+	} elseif($c->command === 'help'){
56 55
 		continue;
57 56
 	}
58 57
 
@@ -100,14 +99,11 @@  discard block
 block discarded – undo
100 99
 				}, $params);
101 100
 			}
102 101
 
103
-		}
104
-		else if($start_permissions > 1 && $key > $start_permissions && $key < $start_description){
102
+		} else if($start_permissions > 1 && $key > $start_permissions && $key < $start_description){
105 103
 			$c->permissions .= ' '.trim($value);
106
-		}
107
-		else if($start_description > $start_permissions && $key > $start_description && $key < $start_example){
104
+		} else if($start_description > $start_permissions && $key > $start_description && $key < $start_example){
108 105
 			$c->description .= ' '.trim($value);
109
-		}
110
-		else if($start_example > $start_description && $key > $start_example){
106
+		} else if($start_example > $start_description && $key > $start_example){
111 107
 			$c->example .= trim($value).PHP_EOL;
112 108
 		}
113 109
 	}
Please login to merge, or discard this patch.
src/TS3QueryAPI.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,7 @@
 block discarded – undo
192 192
 						}
193 193
 
194 194
 						$args[] = '-'.$param;
195
-					}
196
-					else{
195
+					} else{
197 196
 						$args[] = '-'.$k.'='.$param;
198 197
 					}
199 198
 
Please login to merge, or discard this patch.