Ver Fonte

FD3-274 Se remueve esa referencia y volvió a funcionar, estuve probando
la edición de onus y asocia la posición dentro del nap de manera
correcta. Si en un momento en el select del nap me figuró la cantidad de
lugares disponibles, luego dejó de aparecer, pero fue solo un momento.

Maximiliano Schvindt há 7 anos atrás
pai
commit
c92548ffe9
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      src/FTTHBundle/Entity/NAP.php

+ 2 - 1
src/FTTHBundle/Entity/NAP.php

@@ -53,6 +53,7 @@ class NAP implements TenancyIdTraitInterface, LocationInterface
      * @ORM\OneToMany(targetEntity="ONU", mappedBy="nap", fetch="EXTRA_LAZY")
      * @ORM\OneToMany(targetEntity="ONU", mappedBy="nap", fetch="EXTRA_LAZY")
      */
      */
     protected $onus;
     protected $onus;
+
     /**
     /**
      * @var ContainerInterface
      * @var ContainerInterface
      */
      */
@@ -120,7 +121,7 @@ class NAP implements TenancyIdTraitInterface, LocationInterface
     /**
     /**
      * @return ContainerInterface
      * @return ContainerInterface
      */
      */
-    public function getContainer(): ContainerInterface
+    public function getContainer()
     {
     {
         return $this->container;
         return $this->container;
     }
     }