fix phpstan/phpcs

This commit is contained in:
Dennis Eichhorn 2021-06-26 14:38:08 +02:00
parent 1935d1d1e4
commit 2ad2ba3d7a
2 changed files with 3 additions and 3 deletions

View File

@ -119,8 +119,8 @@ final class EditorDocMapper extends DataMapperAbstract
{
$depth = 3;
$query = self::getQuery();
$query->where(self::$table . '_' . $depth . '.editor_doc_virtual', '=', $virtualPath);
$query->where(self::$table . '_' . $depth . '.editor_doc_created_by', '=', $account);
$query->where(self::$table . '_d' . $depth . '.editor_doc_virtual', '=', $virtualPath);
$query->where(self::$table . '_d' . $depth . '.editor_doc_created_by', '=', $account);
return self::getAllByQuery($query, RelationType::ALL, $depth);
}

View File

@ -9,7 +9,7 @@
],
"require-dev": {
"phpunit/phpunit": ">=9.4",
"friendsofphp/php-cs-fixer": ">=2.18",
"friendsofphp/php-cs-fixer": ">=3.0",
"squizlabs/php_codesniffer": ">=3.5",
"phpmd/phpmd": ">=2.9",
"phpstan/phpstan": ">=0.12.58",