The expression return preg_split('/
| |
/', $multiline_string) could return the type false which is incompatible with the type-hinted return array. Consider adding an additional type-check to rule them out.
Loading history...
12
}
13
14
/**
15
* Parses srings like main_settings_section to Main settings section
16
*/
17
function parse_to_readable(string $source): string