Skip to content

Commit 4105043

Browse files
loks0nclaude
andcommitted
fix: remove getEnv method from Platform
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 16d385e commit 4105043

2 files changed

Lines changed: 0 additions & 30 deletions

File tree

src/Platform/Platform.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -345,17 +345,4 @@ public function setWorker(Server $worker): self
345345
return $this;
346346
}
347347

348-
/**
349-
* Get env
350-
*
351-
* Method for querying env parameters. If $key is not found $default value will be returned.
352-
*
353-
* @param string $key
354-
* @param string|null $default
355-
* @return mixed
356-
*/
357-
public function getEnv(string $key, ?string $default = null): mixed
358-
{
359-
return $_SERVER[$key] ?? $default;
360-
}
361348
}

tests/unit/GetEnvTest.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)