mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-10 07:28:41 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
1935d1d1e4
commit
2ad2ba3d7a
|
|
@ -119,8 +119,8 @@ final class EditorDocMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
$depth = 3;
|
$depth = 3;
|
||||||
$query = self::getQuery();
|
$query = self::getQuery();
|
||||||
$query->where(self::$table . '_' . $depth . '.editor_doc_virtual', '=', $virtualPath);
|
$query->where(self::$table . '_d' . $depth . '.editor_doc_virtual', '=', $virtualPath);
|
||||||
$query->where(self::$table . '_' . $depth . '.editor_doc_created_by', '=', $account);
|
$query->where(self::$table . '_d' . $depth . '.editor_doc_created_by', '=', $account);
|
||||||
|
|
||||||
return self::getAllByQuery($query, RelationType::ALL, $depth);
|
return self::getAllByQuery($query, RelationType::ALL, $depth);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": ">=9.4",
|
"phpunit/phpunit": ">=9.4",
|
||||||
"friendsofphp/php-cs-fixer": ">=2.18",
|
"friendsofphp/php-cs-fixer": ">=3.0",
|
||||||
"squizlabs/php_codesniffer": ">=3.5",
|
"squizlabs/php_codesniffer": ">=3.5",
|
||||||
"phpmd/phpmd": ">=2.9",
|
"phpmd/phpmd": ">=2.9",
|
||||||
"phpstan/phpstan": ">=0.12.58",
|
"phpstan/phpstan": ">=0.12.58",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user