From 6effb4cad28f95a8c63cfe8dcbe4ec6776986dfb Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 9 Oct 2023 16:36:35 +0300 Subject: [PATCH] fix methods position --- src/Entity/Page.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Entity/Page.php b/src/Entity/Page.php index 7b5764b..0814927 100644 --- a/src/Entity/Page.php +++ b/src/Entity/Page.php @@ -13,6 +13,15 @@ class Page #[ORM\Column] private ?int $id = null; + #[ORM\Column] + private ?int $userId = null; + + #[ORM\Column] + private ?int $added = null; + + #[ORM\Column] + private ?bool $approved = null; + public function getId(): ?int { return $this->id; @@ -25,15 +34,6 @@ class Page return $this; } - #[ORM\Column] - private ?int $userId = null; - - #[ORM\Column] - private ?int $added = null; - - #[ORM\Column] - private ?bool $approved = null; - public function getUserId(): ?int { return $this->userId;