1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Make StyleCI happy and fix some docblocks

This commit is contained in:
Franz Liedke
2016-05-27 09:07:49 +09:00
parent 2b9ec71a81
commit 0b0c1055d6
6 changed files with 9 additions and 15 deletions

View File

@@ -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
@@ -285,7 +282,7 @@ class WebAppView
return $view->render();
}
protected function buildTitle($forumTitle)
{
return ($this->title ? $this->title.' - ' : '').$forumTitle;