mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Tweak extender interface in preparation for adding more methods
This commit is contained in:
@@ -20,7 +20,7 @@ use RuntimeException;
|
||||
|
||||
class LanguagePack implements ExtenderInterface
|
||||
{
|
||||
public function __invoke(Container $container, Extension $extension = null)
|
||||
public function extend(Container $container, Extension $extension = null)
|
||||
{
|
||||
if (is_null($extension)) {
|
||||
throw new InvalidArgumentException(
|
||||
|
Reference in New Issue
Block a user