From 8abdf2576a799e0698ff93333e80b29f67580e92 Mon Sep 17 00:00:00 2001 From: Kouril42 Date: Tue, 28 Feb 2023 16:12:46 +0100 Subject: [PATCH] Debug get_floor who returned false connectedFloors --- src/Entity/Building.php | 2 +- src/Entity/Floor.php | 2 +- src/Entity/Site.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Entity/Building.php b/src/Entity/Building.php index 18082e5..39e8df1 100644 --- a/src/Entity/Building.php +++ b/src/Entity/Building.php @@ -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; diff --git a/src/Entity/Floor.php b/src/Entity/Floor.php index 9474ef0..785304b 100644 --- a/src/Entity/Floor.php +++ b/src/Entity/Floor.php @@ -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; diff --git a/src/Entity/Site.php b/src/Entity/Site.php index 2faa798..c100150 100644 --- a/src/Entity/Site.php +++ b/src/Entity/Site.php @@ -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;