Commit 5d05eb55 authored by Othneil Drew's avatar Othneil Drew
Browse files

Bug fix: mixed return type for Config

parent b18a505c
No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -40,9 +40,8 @@ class Config
/**
* Returns a saved config value based on the 'filename.key' keyGroup.
* @param string $keyGroup
* @return mixed
*/
public static function get(string $keyGroup): mixed
public static function get(string $keyGroup)
{
$regex = '/^[A-Za-z].+\.[A-Za-z]+$/i'; // filename.key
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment