Skip to content

Commit 827febb

Browse files
Merge pull request #153 from lucasmichot/feature/master/useless-variables
Useless variable declarations
2 parents 5ac5277 + 3756a6b commit 827febb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Dotenv.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Dotenv
3535
public function __construct($path, $file = '.env')
3636
{
3737
$this->filePath = $this->getFilePath($path, $file);
38-
$this->loader = new Loader($this->filePath, $immutable = true);
38+
$this->loader = new Loader($this->filePath, true);
3939
}
4040

4141
/**
@@ -45,7 +45,7 @@ public function __construct($path, $file = '.env')
4545
*/
4646
public function load()
4747
{
48-
$this->loader = new Loader($this->filePath, $immutable = true);
48+
$this->loader = new Loader($this->filePath, true);
4949

5050
return $this->loader->load();
5151
}
@@ -57,7 +57,7 @@ public function load()
5757
*/
5858
public function overload()
5959
{
60-
$this->loader = new Loader($this->filePath, $immutable = false);
60+
$this->loader = new Loader($this->filePath, false);
6161

6262
return $this->loader->load();
6363
}

0 commit comments

Comments
 (0)