mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Make StyleCI happy and fix some docblocks
This commit is contained in:
parent
e41a427a6b
commit
558f2103ef
|
@ -14,9 +14,7 @@ use Flarum\Admin\WebApp;
|
|||
use Flarum\Core\Permission;
|
||||
use Flarum\Event\PrepareUnserializedSettings;
|
||||
use Flarum\Extension\ExtensionManager;
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\Http\Controller\AbstractWebAppController;
|
||||
use Flarum\Locale\LocaleManager;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
|
|
@ -97,7 +97,7 @@ class RevisionCompiler implements CompilerInterface
|
|||
|
||||
file_put_contents($file, $this->compile());
|
||||
} else {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace Flarum\Forum\Controller;
|
|||
|
||||
use Flarum\Api\Client as ApiClient;
|
||||
use Flarum\Core\User;
|
||||
use Flarum\Forum\WebApp;
|
||||
use Flarum\Forum\UrlGenerator;
|
||||
use Flarum\Forum\WebApp;
|
||||
use Flarum\Http\Exception\RouteNotFoundException;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
namespace Flarum\Http\WebApp;
|
||||
|
||||
use Flarum\Http\Controller;
|
||||
use Flarum\Locale\LocaleManager;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
|
||||
|
|
|
@ -12,10 +12,7 @@ namespace Flarum\Http\WebApp;
|
|||
|
||||
use Flarum\Api\Client;
|
||||
use Flarum\Api\Serializer\AbstractSerializer;
|
||||
use Flarum\Api\Serializer\CurrentUserSerializer;
|
||||
use Flarum\Asset\CompilerInterface;
|
||||
use Flarum\Core\Exception\ValidationException;
|
||||
use Flarum\Core\User;
|
||||
use Flarum\Locale\JsCompiler;
|
||||
use Flarum\Locale\LocaleManager;
|
||||
use Illuminate\View\Factory;
|
||||
|
@ -113,7 +110,7 @@ class WebAppView
|
|||
protected $localeCss;
|
||||
|
||||
/**
|
||||
* @var ClientAssets
|
||||
* @var WebAppAssets
|
||||
*/
|
||||
protected $assets;
|
||||
|
||||
|
@ -139,7 +136,7 @@ class WebAppView
|
|||
|
||||
/**
|
||||
* @param string $layout
|
||||
* @param ClientAssets $assets
|
||||
* @param WebAppAssets $assets
|
||||
* @param Client $api
|
||||
* @param Factory $view
|
||||
* @param LocaleManager $locales
|
||||
|
|
Loading…
Reference in New Issue
Block a user