Skip to content

Commit 89cdc3f

Browse files
committed
Fixed EnvironmentVariables named constructors to support late static binding.
1 parent 0ada320 commit 89cdc3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EnvironmentVariables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function __construct($immutable)
2626
*/
2727
public static function create()
2828
{
29-
return new self(false);
29+
return new static(false);
3030
}
3131

3232
/**
@@ -36,7 +36,7 @@ public static function create()
3636
*/
3737
public static function createImmutable()
3838
{
39-
return new self(true);
39+
return new static(true);
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)