From 6ba594efd8d03af3da4f7a19e9587b05cbc7aeda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 17 Jan 2024 18:38:06 +0100 Subject: [PATCH] fix phpstan in target.class.php --- htdocs/webhook/class/target.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/webhook/class/target.class.php b/htdocs/webhook/class/target.class.php index 0ee668af87f..912c3d779b4 100644 --- a/htdocs/webhook/class/target.class.php +++ b/htdocs/webhook/class/target.class.php @@ -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;