mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
fix phpstan level 4 (#29954)
* fix phpstan level 4 * fix phpstan level 4
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
/* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
|
||||
* Copyright (C) 2020 Thibault FOUCART <support@ptibogxiv.net>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -773,7 +774,7 @@ class Users extends DolibarrApi
|
||||
* @return array
|
||||
* @throws RestException
|
||||
*/
|
||||
private function _validate($data)
|
||||
private function _validate($data) // @phpstan-ignore-line
|
||||
{
|
||||
$account = array();
|
||||
foreach (Users::$FIELDS as $field) {
|
||||
|
||||
Reference in New Issue
Block a user