forked from Wavyzz/dolibarr
fix phpstan (#28403)
This commit is contained in:
@@ -249,7 +249,7 @@ class FormSetup
|
||||
* saveConfFromPost
|
||||
*
|
||||
* @param bool $noMessageInUpdate display event message on errors and success
|
||||
* @return int -1 if KO, 1 if OK
|
||||
* @return int|null Return -1 if KO, 1 if OK, null if no items
|
||||
*/
|
||||
public function saveConfFromPost($noMessageInUpdate = false)
|
||||
{
|
||||
@@ -266,7 +266,6 @@ class FormSetup
|
||||
return $reshook;
|
||||
}
|
||||
|
||||
|
||||
if (empty($this->items)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user