static analysis

This commit is contained in:
Dylan K. Taylor
2017-07-13 16:45:24 +01:00
parent 23866359c9
commit 4d874e7e78
6 changed files with 7 additions and 6 deletions

View File

@ -125,7 +125,7 @@ class FormattedCommandAlias extends Command{
$replacement = "";
if($rest and $position < count($args)){
for($i = $position; $i < count($args); ++$i){
for($i = $position, $c = count($args); $i < $c; ++$i){
if($i !== $position){
$replacement .= " ";
}