1
0
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:
Franz Liedke
2018-09-26 22:36:36 +02:00
parent e3afb38427
commit 3c827d2fce
9 changed files with 9 additions and 9 deletions

View File

@@ -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(