Skip to content

Conversation

@kentdahl
Copy link
Contributor

Minor configuration cleanup to be compatible with php artisan config:cache if I understand it correctly after coming over this:

NOTE: Not tested in any way or form; changes only taken verbatim from a project I am working on, and changed a few other env() calls I noticed on the way. Adding PR in case it might be useful and the "right way" to do settings like this.

/*
* ReCaptcha Site Key
*/
'reCaptchSite' => env('RE_CAP_SITE', 'YOURGOOGLECAPTCHAsitekeyHERE'),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 space after comma in function call; 3 found

/*
* Google Maps API Key
*/
'googleMapsAPIKey' => env('GOOGLEMAPS_API_KEY', 'YOURGOOGLEMAPSkeyHERE'),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected 1 space after comma in function call; 4 found

Copy link
Owner

@jeremykenedy jeremykenedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call on moving those to a service provider.

@jeremykenedy jeremykenedy merged commit 3f63d3e into jeremykenedy:master May 21, 2018
@kentdahl kentdahl deleted the config-settings-preferred-over-env branch May 21, 2018 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants