Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
1) src/Support/ServiceProvider.php (braces)
2) src/Container.php (increment_style, trailing_comma_in_multiline)
  • Loading branch information
github-actions[bot] committed Nov 11, 2022
1 parent 6e79d08 commit 308d7a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function loadConfiguration(): void

if ($config->get('collections')) {
$config->put('collections', collect($config->get('collections'))->flatMap(
fn ($value, $key) => is_array($value) ? [$key => $value] : [$value => []]
fn ($value, $key) => is_array($value) ? [$key => $value] : [$value => []],
));
}

Expand Down Expand Up @@ -147,7 +147,7 @@ private function fireAppCallbacks(array &$callbacks): void
while ($index < count($callbacks)) {
$callbacks[$index]($this);

$index++;
++$index;
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/Support/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ abstract class ServiceProvider
{
public function __construct(
protected Container $app,
) {}
) {
}

public function register(): void
{
Expand Down

0 comments on commit 308d7a3

Please sign in to comment.