mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix phpstan (#28403)
This commit is contained in:
parent
c159aff82f
commit
b7b799b88e
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user