Commit 92c3f3f7 authored by Moreau Elise's avatar Moreau Elise
Browse files

get location can return null or a location

parent 3428008d
......@@ -207,7 +207,7 @@ class User implements JsonSerializable
return $this->admins;
}
public function getLocation(): Location
public function getLocation(): ?Location
{
return $this->location;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment