From 6ff41f30dd88bc2b1456c13180c7ce02e9343950 Mon Sep 17 00:00:00 2001 From: thibdrev Date: Wed, 31 Jan 2024 21:47:10 +0100 Subject: [PATCH] qual: phpstan for htdocs/ecm/class/ecmdirectory.class.php htdocs/ecm/class/ecmdirectory.class.php 460 Property EcmDirectory::$fk_parent (int) does not accept string. --- htdocs/ecm/class/ecmdirectory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php index f30da30fc8e..6e73b229858 100644 --- a/htdocs/ecm/class/ecmdirectory.class.php +++ b/htdocs/ecm/class/ecmdirectory.class.php @@ -457,7 +457,7 @@ class EcmDirectory extends CommonObject $this->id = 0; $this->label = 'MyDirectory'; - $this->fk_parent = '0'; + $this->fk_parent = 0; $this->description = 'This is a directory'; }