phpcs fixes

This commit is contained in:
Dennis Eichhorn 2020-11-28 00:13:12 +01:00
parent a1b0f6ad60
commit 49eec36689
4 changed files with 8 additions and 9 deletions

View File

@ -15,7 +15,6 @@ declare(strict_types=1);
namespace Modules\Knowledgebase\Models; namespace Modules\Knowledgebase\Models;
use phpOMS\DataStorage\Database\DataMapperAbstract; use phpOMS\DataStorage\Database\DataMapperAbstract;
use phpOMS\Localization\Defaults\LanguageMapper;
/** /**
* Category mapper class. * Category mapper class.

View File

@ -113,7 +113,7 @@ final class WikiDocMapper extends DataMapperAbstract
{ {
$query ??= self::getQuery(null, [], $relations, $depth); $query ??= self::getQuery(null, [], $relations, $depth);
$query->where(static::$table . '_' . $depth . '.' . 'wiki_article_app', '=', $app) $query->where(static::$table . '_' . $depth . '.wiki_article_app', '=', $app)
->limit($limit); ->limit($limit);
if (!empty(static::$createdAt)) { if (!empty(static::$createdAt)) {