Skip to content

Commit

Permalink
Apply Laravel code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jan 12, 2024
1 parent 0cd2f7f commit f632f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FirebaseProjectManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(Container $app)
$this->app = $app;
}

public function project(string $name = null): FirebaseProject
public function project(?string $name = null): FirebaseProject
{
$name = $name ?? $this->getDefaultProject();

Expand Down
2 changes: 1 addition & 1 deletion tests/FirebaseProjectManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function it_uses_the_laravel_cache_as_auth_token_cache(): void
$this->assertInstanceOf(CacheItemPoolInterface::class, $property->getValue($factory));
}

private function factoryForProject(string $project = null): Factory
private function factoryForProject(?string $project = null): Factory
{
$project = $this->app->make(FirebaseProjectManager::class)->project($project);

Expand Down

0 comments on commit f632f07

Please sign in to comment.