mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/10824] Clean up code a bit
PHPBB3-10824
This commit is contained in:
@@ -69,7 +69,7 @@ class language_file_helper
|
||||
* @param string $path
|
||||
* @return array
|
||||
*/
|
||||
public function get_language_data_from_composer_file($path)
|
||||
public function get_language_data_from_composer_file(string $path)
|
||||
{
|
||||
$json_data = file_get_contents($path);
|
||||
return $this->get_language_data_from_json(sanitizer::decode($json_data));
|
||||
|
Reference in New Issue
Block a user