Skip to content

Commit

Permalink
Fixed config/autoload/debug.global.php line ending
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed Oct 1, 2024
1 parent eab817d commit 53e2979
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions config/autoload/debug.global.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php

/**
* This is a helper file that can be required by other config files to determine the debug status.
*/

declare(strict_types=1);

$path = getcwd() . '/config/development.config.php';
if (! file_exists($path)) {
return [
'_debug' => false,
];
}

$config = require $path;
return [
'_debug' => $config['debug'] ?? false,
];
<?php

/**
* This is a helper file that can be required by other config files to determine the debug status.
*/

declare(strict_types=1);

$path = getcwd() . '/config/development.config.php';
if (! file_exists($path)) {
return [
'_debug' => false,
];
}

$config = require $path;
return [
'_debug' => $config['debug'] ?? false,
];

0 comments on commit 53e2979

Please sign in to comment.