Skip to content

Commit 534d917

Browse files
committed
updated to only check not null
1 parent e73893f commit 534d917

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Config/Factories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public static function setOptions(string $component, array $values): array
423423
*/
424424
public static function reset(?string $component = null)
425425
{
426-
if ($component !== null && $component !== '') {
426+
if ($component !== null) {
427427
unset(
428428
static::$options[$component],
429429
static::$aliases[$component],

0 commit comments

Comments
 (0)