From 2aeeb0d87e0f0fb6f2fcce56f6e93430ff8cd662 Mon Sep 17 00:00:00 2001
From: tracer <tracer@24unix.net>
Date: Thu, 3 Nov 2022 19:16:16 +0100
Subject: [PATCH] added type annotations

---
 src/Entity/Quotes.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/Entity/Quotes.php b/src/Entity/Quotes.php
index 7910b25..a1e03be 100644
--- a/src/Entity/Quotes.php
+++ b/src/Entity/Quotes.php
@@ -2,21 +2,19 @@
 
 namespace App\Entity;
 
-use ApiPlatform\Core\Annotation\ApiResource;
 use App\Repository\QuotesRepository;
 use Doctrine\ORM\Mapping as ORM;
 
 #[ORM\Entity(repositoryClass: QuotesRepository::class)]
-#[ApiResource]
 class Quotes
 {
     #[ORM\Id]
     #[ORM\GeneratedValue]
     #[ORM\Column(type: 'integer')]
-    private $id;
+    private int $id;
 
     #[ORM\Column(type: 'text')]
-    private $quote;
+    private string $quote;
 
     public function getId(): ?int
     {