Closed sjokkateer closed 2 years ago
Forgive me if the target branch is incorrect since I was not sure which would be considered the correct one. If there is anything else I am unaware of please let me know.
@sjokkateer branch is the correct one, since this is an improvement, thanks! :)
Config::getDataFromArray
ensures an array is returned hence the ternary in theConfig::__construct
seems redundant as the only case the expression evaluates to false is when an empty array was returned and does not need to be re-assigned.Signed-off-by: Remy Bos 27890746+sjokkateer@users.noreply.github.com
Description
The shorthand ternary statements in the constructor of the
Config::class
seem unnecessary and have hence been removed.