Skip to content
Code-Schnipsel Gruppen Projekte
Commit dba1b6d6 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix(phpstan): php8.4 null deprecated

Related: #103
Übergeordneter 1d048c81
No related branches found
No related tags found
2 Merge Requests!170Update 'next-4.x' with latest changes from 'main',!169fix(phpstan): added exception handling for missing html2pdf module in OutputTemplate
Pipeline #15502 mit Warnungen bestanden mit Phase
in 2 Minuten und 49 Sekunden
......@@ -227,7 +227,7 @@ public static function isNettoUser(UserInterface $User): bool
* @return bool|QUI\ERP\Areas\Area
* @throws QUI\Exception
*/
public static function getUserArea(UserInterface $User): bool|QUI\ERP\Areas\Area
public static function getUserArea(UserInterface $User): bool | QUI\ERP\Areas\Area
{
$CurrentAddress = $User->getAttribute('CurrentAddress');
......@@ -276,7 +276,7 @@ public static function getUserArea(UserInterface $User): bool|QUI\ERP\Areas\Area
* @throws Exception
* @throws QUI\Permissions\Exception
*/
public static function getUserERPAddress(UserInterface $User): null|Address|array
public static function getUserERPAddress(UserInterface $User): null | Address | array
{
if (!QUI::getUsers()->isUser($User)) {
throw new QUI\Exception([
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren