fix phpstan in target.class.php
This commit is contained in:
parent
0ed567c0db
commit
6ba594efd8
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ class Target extends CommonObject
|
|||
public function create(User $user, $notrigger = 0)
|
||||
{
|
||||
$resultcreate = $this->createCommon($user, $notrigger);
|
||||
$this->ref = $this->id;
|
||||
$this->ref = (string) $this->id;
|
||||
|
||||
if ($resultcreate <= 0) {
|
||||
return $resultcreate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue