@@ -51,8 +51,7 @@ discard block |
||
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 |
||
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 | } |
@@ -192,8 +192,7 @@ |
||
192 | 192 | } |
193 | 193 | |
194 | 194 | $args[] = '-'.$param; |
195 | - } |
|
196 | - else{ |
|
195 | + } else{ |
|
197 | 196 | $args[] = '-'.$k.'='.$param; |
198 | 197 | } |
199 | 198 |