@@ -141,7 +141,7 @@ |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param int|string $status |
|
144 | + * @param integer $status |
|
145 | 145 | * |
146 | 146 | * @return void |
147 | 147 | */ |
@@ -96,7 +96,7 @@ |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * Returns the installed packages from the composer.lock file. |
99 | - * @param mixed[] $rootPackageRequirements List of requirements to match installed packages only with requirements. |
|
99 | + * @param integer[] $rootPackageRequirements List of requirements to match installed packages only with requirements. |
|
100 | 100 | * @return mixed[] |
101 | 101 | */ |
102 | 102 | protected function getComposerLockInstalled($rootPackageRequirements) |
@@ -1,5 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | function maxi ($a, $b){ |
3 | - if ($a > $b) return $a; |
|
3 | + if ($a > $b) { |
|
4 | + return $a; |
|
5 | + } |
|
4 | 6 | return $b; |
5 | 7 | } |
6 | 8 | \ No newline at end of file |
@@ -1,7 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | function f_while($a){ |
3 | 3 | $i = 2; |
4 | - if ($a < 0) return 0; |
|
4 | + if ($a < 0) { |
|
5 | + return 0; |
|
6 | + } |
|
5 | 7 | while ($a > 0){ |
6 | 8 | $a -= 100; |
7 | 9 | $i *= 2; |