mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-11 20:38:42 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
e6492c57b7
commit
a14227aedb
|
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"type": "collection",
|
||||
"create_directory": true,
|
||||
"type": "collection",
|
||||
"create_directory": true,
|
||||
"name": "Helper",
|
||||
"virtualPath": "/Modules",
|
||||
"user": 1
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ final class TemplateMapper extends DataMapperAbstract
|
|||
{
|
||||
$depth = 3;
|
||||
$query = self::getQuery();
|
||||
$query->where(self::$table . '_' . $depth . '.helper_template_virtual', '=', $virtualPath);
|
||||
$query->where(self::$table . '_d' . $depth . '.helper_template_virtual', '=', $virtualPath);
|
||||
|
||||
return self::getAllByQuery($query, RelationType::ALL, $depth);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user