Add Interface suffix

This commit is contained in:
Toby Zerner 2018-06-15 19:17:43 +09:30
parent 0803b5ac18
commit dd6569a773
7 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ use Flarum\Frontend\Event\Rendering;
use Illuminate\Contracts\Container\Container;
use Illuminate\Events\Dispatcher;
class Assets implements Extender
class Assets implements ExtenderInterface
{
protected $appName;

View File

@ -23,7 +23,7 @@ use Illuminate\Contracts\Container\Container;
*
* @deprecated
*/
class Compat implements Extender
class Compat implements ExtenderInterface
{
protected $callback;

View File

@ -14,7 +14,7 @@ namespace Flarum\Extend;
use Flarum\Extension\Extension;
use Illuminate\Contracts\Container\Container;
interface Extender
interface ExtenderInterface
{
public function __invoke(Container $container, Extension $extension = null);
}

View File

@ -16,7 +16,7 @@ use Flarum\Formatter\Event\Configuring;
use Illuminate\Contracts\Container\Container;
use Illuminate\Events\Dispatcher;
class FormatterConfiguration implements Extender
class FormatterConfiguration implements ExtenderInterface
{
protected $callback;

View File

@ -18,7 +18,7 @@ use Illuminate\Contracts\Container\Container;
use InvalidArgumentException;
use RuntimeException;
class LanguagePack implements Extender
class LanguagePack implements ExtenderInterface
{
public function __invoke(Container $container, Extension $extension = null)
{

View File

@ -16,7 +16,7 @@ use Flarum\Extension\Extension;
use Flarum\Locale\LocaleManager;
use Illuminate\Contracts\Container\Container;
class Locales implements Extender
class Locales implements ExtenderInterface
{
protected $directory;

View File

@ -15,7 +15,7 @@ use Flarum\Extension\Extension;
use Flarum\Http\RouteHandlerFactory;
use Illuminate\Contracts\Container\Container;
class Routes implements Extender
class Routes implements ExtenderInterface
{
protected $appName;