Parcourir la source

Model User : correctif getName()

master
Guillaume il y a 1 an
Parent
révision
add2a78293
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      common/logic/User/User/Model/User.php

+ 1
- 1
common/logic/User/User/Model/User.php Voir le fichier

@@ -246,7 +246,7 @@ class User extends ActiveRecordCommon implements IdentityInterface
return $this->hasMany(Order::class, ['id_user' => 'id']);
}

public function getName(): string
public function getName(): ?string
{
return $this->name;
}

Chargement…
Annuler
Enregistrer