Debug get_floor who returned false connectedFloors

This commit is contained in:
Kouril42 2023-02-28 16:12:46 +01:00
parent 4a0ad498d8
commit 8abdf2576a
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class Building
}
public function getName(): string
{ return $this->id;
{ return $this->name;
}
public function setName(string $name): self
{ $this->name = $name;

View File

@ -39,7 +39,7 @@ class Floor
}
public function getName(): string
{ return $this->id;
{ return $this->name;
}
public function setName(string $name): self
{ $this->name = $name;

View File

@ -37,7 +37,7 @@ class Site
}
public function getName(): string
{ return $this->id;
{ return $this->name;
}
public function setName(string $name): self
{ $this->name = $name;