Skip to content

Commit

Permalink
chore: autofix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Aug 31, 2023
1 parent 4d3d325 commit f346796
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions tests/static-analysis/fromCallable.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,15 @@ public function getKeyValues(): Generator
*/
public function getMixed(): Generator
{
yield from [1, 2, '3', 'b', 5];
yield 1;

yield 2;

yield '3';

yield 'b';

yield 5;
}

/**
Expand All @@ -92,7 +100,15 @@ public static function getKeyValues(): Generator
*/
public static function getMixed(): Generator
{
yield from [1, 2, '3', 'b', 5];
yield 1;

yield 2;

yield '3';

yield 'b';

yield 5;
}

/**
Expand Down Expand Up @@ -127,7 +143,15 @@ public function __invoke(): Generator
*/
public function __invoke(): Generator
{
yield from [1, 2, '3', 'b', 5];
yield 1;

yield 2;

yield '3';

yield 'b';

yield 5;
}
};

Expand Down

0 comments on commit f346796

Please sign in to comment.