mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 01:14:34 +02:00
Fixed some more phpstan issues
This commit is contained in:
parent
2f46fbfc7a
commit
e8771ea118
77 changed files with 192 additions and 109 deletions
|
@ -75,7 +75,7 @@ class LogTargetHelper
|
|||
if (!$target instanceof AbstractDBElement) {
|
||||
if ($context->hasTarget()) {
|
||||
return $this->elementTypeNameGenerator->formatElementDeletedHTML($context->getTargetClass(),
|
||||
$context->getTargetId());
|
||||
$context->getTargetID());
|
||||
}
|
||||
//If no target is set, we can't do anything
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue