Skip to content

Commit

Permalink
void return
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohn authored Nov 22, 2024
1 parent c1fe5df commit ce73eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/ConfigEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class ConfigEditor extends Config {
*
* @param array $newData The associative array of key-value pairs to add to the config.
* @param string $configFile The name of the config file (without the '.php' extension) to modify.
* @return mixed
* @return void
*/
public static function addToConfig(array $newData, string $configFile, $overwrite = false): mixed {
public static function addToConfig(array $newData, string $configFile, $overwrite = false): void {
// Check if the specified configuration key exists in the parent config
self::$config = parent::getAll($configFile);
// removed ability to overwrite config because we get the same key multiple times.
Expand Down

0 comments on commit ce73eec

Please sign in to comment.