Pārlūkot izejas kodu

Merge branch 'develop' into tableaux

François Drouhard 2 gadi atpakaļ
vecāks
revīzija
dd7ed6ce3a
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      src/Entity/Commentaire.php
  2. 1 1
      src/Entity/Film.php

+ 1 - 1
src/Entity/Commentaire.php

@@ -40,7 +40,7 @@ class Commentaire
         $this->dateSubmitted = new \DateTime('now');
     }
 
-    public function getId(): int
+    public function getId(): ?int
     {
         return $this->id;
     }

+ 1 - 1
src/Entity/Film.php

@@ -90,7 +90,7 @@ class Film
         return $this;
     }
 
-    public function getId(): int
+    public function getId(): ?int
     {
         return $this->id;
     }