Commit 6de2e735 authored by Tino Goratsch's avatar Tino Goratsch

fix errors reported by PHPStan

parent c784b41f
Pipeline #59462681 passed with stages
in 5 minutes and 15 seconds
......@@ -128,7 +128,7 @@ class Edit extends AbstractOperation
// Falls die Knoten in einen leeren Block verschoben werden sollen,
// die right_id des letzten Elementes verwenden
if (empty($newBlockLeftId) || \is_null($newBlockLeftId) === true) {
if (empty($newBlockLeftId)) {
$newBlockLeftId = $this->nestedSetRepository->fetchMaximumRightId();
++$newBlockLeftId;
}
......
......@@ -10,5 +10,3 @@ parameters:
includes:
- %rootDir%/../../../vendor/phpstan/phpstan-phpunit/extension.neon
- %rootDir%/../../../vendor/phpstan/phpstan-phpunit/rules.neon
ignoreErrors:
- '#Property RFM\\Application::\$api \(RFM\\API\\ApiInterface\) does not accept RFM\\Api\\LocalApi\.#'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment