Parcourir la source

changes from automatic review

JMSBot il y a 12 ans
Parent
commit
542aa0305c

+ 1 - 0
Serializer/EventDispatcher/PreSerializeEvent.php

@@ -6,6 +6,7 @@ class PreSerializeEvent extends Event
 {
     /**
      * @param string $typeName
+     * @param array $params
      */
     public function setType($typeName, array $params = array())
     {

+ 1 - 0
Serializer/GenericSerializationVisitor.php

@@ -83,6 +83,7 @@ abstract class GenericSerializationVisitor extends AbstractVisitor
 
     /**
      * @param array $data
+     * @param array $type
      */
     public function visitArray($data, array $type)
     {

+ 1 - 0
Serializer/Handler/DateTimeHandler.php

@@ -92,6 +92,7 @@ class DateTimeHandler implements SubscribingHandlerInterface
 
     /**
      * @return string
+     * @param array $type
      */
     private function getFormat(array $type)
     {

+ 3 - 0
Serializer/TypeParser.php

@@ -123,6 +123,9 @@ final class TypeParser
         return null !== $this->next;
     }
 
+    /**
+     * @param integer $token
+     */
     public static function getTokenName($token)
     {
         $ref = new \ReflectionClass(get_called_class());

+ 1 - 0
Serializer/YamlSerializationVisitor.php

@@ -81,6 +81,7 @@ class YamlSerializationVisitor extends AbstractVisitor
 
     /**
      * @param array $data
+     * @param array $type
      */
     public function visitArray($data, array $type)
     {