Skip to content

Commit eab74ab

Browse files
authored
Applied fixes from StyleCI (#4)
1 parent 52998e3 commit eab74ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Kernel
4040
private $config = [];
4141

4242
/**
43-
* @param array $modules The name of the modules to load.
43+
* @param array $modules The name of the modules to load.
4444
* @param string $environment Environment of the application (prod, dev, test, ...).
4545
*/
4646
public function __construct(array $modules = [], $environment = 'prod')
@@ -136,7 +136,7 @@ private function loadModule(ContainerBuilder $builder, ResourceRepository $resou
136136
}
137137

138138
// Load the environment-specific config if it exists
139-
$envConfig = '/' . $module . '/config/env/' . $this->environment . '.php';
139+
$envConfig = '/'.$module.'/config/env/'.$this->environment.'.php';
140140
if ($resources->contains($envConfig)) {
141141
$resource = $resources->get($envConfig);
142142
if ($resource instanceof FilesystemResource) {

tests/KernelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function loads_module_environment_config()
9090
*/
9191
public function uses_provided_config()
9292
{
93-
$this->kernel = new Kernel;
93+
$this->kernel = new Kernel();
9494
$this->kernel->addConfig([
9595
'foo' => 'bar',
9696
'bar' => 'bar',

0 commit comments

Comments
 (0)