Guillermo Espinoza %!s(int64=8) %!d(string=hai) anos
pai
achega
885d95f8b5
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      Entity/Action.php

+ 4 - 4
Entity/Action.php

@@ -55,7 +55,7 @@ class Action
     /**
      * @var array
      *
-     * @ORM\Column(type="array", length=255, nullable=true)
+     * @ORM\Column(type="array", nullable=true)
      */
     protected $event;
 
@@ -134,11 +134,11 @@ class Action
     }
 
     /**
-     * @param string $event
+     * @param array $event
      *
      * @return Action
      */
-    public function setEvent($event = null)
+    public function setEvent($event = array())
     {
         $this->event = $event;
 
@@ -146,7 +146,7 @@ class Action
     }
 
     /**
-     * @return string
+     * @return array
      */
     public function getEvent()
     {