Skip to content

Commit

Permalink
Add native return type declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
biozshock committed Dec 22, 2021
1 parent 9a207fa commit a8284e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('oneup_uploader');
$rootNode = $treeBuilder->getRootNode();
Expand Down
4 changes: 2 additions & 2 deletions tests/App/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Kernel extends BaseKernel
{
public function registerBundles()
public function registerBundles(): iterable
{
$bundles = [
new FrameworkBundle(),
Expand All @@ -30,7 +30,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
$loader->load($this->getProjectDir() . '/config/config.yml');
}

public function getProjectDir()
public function getProjectDir(): string
{
return __DIR__;
}
Expand Down

0 comments on commit a8284e9

Please # to comment.