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 {