Skip to content

Commit 514819d

Browse files
committed
Only return the extension array if the extension is valid.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
1 parent 5e618c5 commit 514819d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

feather/Extensions/Dispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ public function register(array $extension)
117117
{
118118
$this->start($extension['identifier']);
119119
}
120-
}
121120

122-
return $this["extension.{$extension['identifier']}"];
121+
return $this["extension.{$extension['identifier']}"];
122+
}
123123
}
124124

125125
/**

0 commit comments

Comments
 (0)