Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be299f3

Browse files
committedFeb 9, 2022
Indenting PSR-12.
1 parent 06e721a commit be299f3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
 

‎src/Training/Medium/MayanCalculation/MayanCalculation.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,15 @@ class MayanCalculation implements Puzzle
1616
public function execute($stdin): void
1717
{
1818
fscanf($stdin, "%d %d", $L, $H);
19-
for ($i = 0; $i < $H; $i++)
20-
{
19+
for ($i = 0; $i < $H; $i++) {
2120
fscanf($stdin, "%s", $numeral);
2221
}
2322
fscanf($stdin, "%d", $S1);
24-
for ($i = 0; $i < $S1; $i++)
25-
{
23+
for ($i = 0; $i < $S1; $i++) {
2624
fscanf($stdin, "%s", $num1Line);
2725
}
2826
fscanf($stdin, "%d", $S2);
29-
for ($i = 0; $i < $S2; $i++)
30-
{
27+
for ($i = 0; $i < $S2; $i++) {
3128
fscanf($stdin, "%s", $num2Line);
3229
}
3330
fscanf($stdin, "%s", $operation);

0 commit comments

Comments
 (0)
Please sign in to comment.