Skip to content

Commit 53e2979

Browse files
committed
Fixed config/autoload/debug.global.php line ending
Signed-off-by: alexmerlin <[email protected]>
1 parent eab817d commit 53e2979

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

config/autoload/debug.global.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<?php
2-
3-
/**
4-
* This is a helper file that can be required by other config files to determine the debug status.
5-
*/
6-
7-
declare(strict_types=1);
8-
9-
$path = getcwd() . '/config/development.config.php';
10-
if (! file_exists($path)) {
11-
return [
12-
'_debug' => false,
13-
];
14-
}
15-
16-
$config = require $path;
17-
return [
18-
'_debug' => $config['debug'] ?? false,
19-
];
1+
<?php
2+
3+
/**
4+
* This is a helper file that can be required by other config files to determine the debug status.
5+
*/
6+
7+
declare(strict_types=1);
8+
9+
$path = getcwd() . '/config/development.config.php';
10+
if (! file_exists($path)) {
11+
return [
12+
'_debug' => false,
13+
];
14+
}
15+
16+
$config = require $path;
17+
return [
18+
'_debug' => $config['debug'] ?? false,
19+
];

0 commit comments

Comments
 (0)