Skip to content

Commit

Permalink
Change access level to public to fix PHP7.4 error
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilMazur committed Mar 9, 2020
1 parent 876cd52 commit ab3e4b3
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 ab3e4b3

Please sign in to comment.