We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db9198 commit a18706dCopy full SHA for a18706d
migrations/Version20241220160327.php
@@ -12,7 +12,7 @@ final class Version20241220160327 extends AbstractMigration
12
{
13
public function up(Schema $schema): void
14
15
- $syncroSecretKey = $_ENV['SYNCHRO_SECRET_KEY'] ?? null;
+ $syncroSecretKey = getenv('SYNCHRO_SECRET_KEY') ?? null;
16
17
if (!$syncroSecretKey) {
18
throw new \RuntimeException('The environment variable SYNCHRO_SECRET_KEY is not defined.');
0 commit comments