Skip to content

Commit f632f07

Browse files
committed
Apply Laravel code style
1 parent 0cd2f7f commit f632f07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FirebaseProjectManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(Container $app)
2525
$this->app = $app;
2626
}
2727

28-
public function project(string $name = null): FirebaseProject
28+
public function project(?string $name = null): FirebaseProject
2929
{
3030
$name = $name ?? $this->getDefaultProject();
3131

tests/FirebaseProjectManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function it_uses_the_laravel_cache_as_auth_token_cache(): void
289289
$this->assertInstanceOf(CacheItemPoolInterface::class, $property->getValue($factory));
290290
}
291291

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

0 commit comments

Comments
 (0)