Skip to content

Commit

Permalink
Merge pull request #99 from CyrilMazur/php74
Browse files Browse the repository at this point in the history
Change access level to public to fix PHP7.4 error
  • Loading branch information
antonioribeiro authored Apr 2, 2020
2 parents 876cd52 + ab3e4b3 commit e4e843a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Config
*
* @return mixed
*/
protected function config($string, $default = null)
public function config($string, $default = null)
{
if (is_null(config($config = Constants::CONFIG_PACKAGE_NAME))) {
throw new \Exception("Config ({$config}.php) not found. Have you published it?");
Expand Down

0 comments on commit e4e843a

Please sign in to comment.