diff --git a/devtools/checkStyle.php b/devtools/checkStyle.php index 2fc5ab8..ffa3dcb 100644 --- a/devtools/checkStyle.php +++ b/devtools/checkStyle.php @@ -115,7 +115,7 @@ private function _processFile( $params = explode(', ', $params); $outputLines[] = $funcstart.'('.PHP_EOL; - for ($i = 0, $len = count($params); $i < $len; ++$i) { + for ($i = 0, $len = count($params); $i < $len; $i++) { $newline = ' '.$params[$i]; if ($i == ($len - 1)) { $newline .= ')'.PHP_EOL; diff --git a/examples/GetDefinition.php b/examples/GetDefinition.php index 02ac626..7744b58 100644 --- a/examples/GetDefinition.php +++ b/examples/GetDefinition.php @@ -16,5 +16,5 @@ foreach ($defintions as $definition) { echo $i.'. Tipo: '.$definition->getType()."\n"; echo ' DefiniciĆ³n: '.$definition->getDefinition()."\n\n"; - ++$i; + $i++; }