Skip to content

Commit a8f665a

Browse files
Update config to match the latest skeleton configuration (#10815)
1 parent 5b54855 commit a8f665a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ APP_NAME="My Application"
9898
All of the variables listed in the `.env` file will be loaded into the `$_ENV` PHP super-global when your application receives a request. However, you may use the `env` function to retrieve values from these variables in your configuration files. In fact, if you review the Laravel configuration files, you will notice many of the options are already using this function:
9999

100100
```php
101-
'debug' => env('APP_DEBUG', false),
101+
'debug' => (bool) env('APP_DEBUG', false),
102102
```
103103

104104
The second value passed to the `env` function is the "default value". This value will be returned if no environment variable exists for the given key.

0 commit comments

Comments
 (0)