1
0
Fork 0

Good morning 😴

pull/9935/head
Jordi Boggiano 2021-06-03 10:30:09 +02:00
parent 49d7ff1626
commit 10e634890e
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class Platform
* @param string $value
* @return void
*/
public function putEnv($name, $value)
public static function putEnv($name, $value)
{
$value = (string) $value;
putenv($name . '=' . $value);
@ -45,7 +45,7 @@ class Platform
* @param string $value
* @return void
*/
public function clearEnv($name)
public static function clearEnv($name)
{
putenv($name);
unset($_SERVER[$name], $_ENV[$name]);