Completed
Push — master ( 4700f8...b32d7e )
by Tomasz
02:09
created
src/NormalizerContainer/FallbackNormalizerContainer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@
 block discarded – undo
27 27
         }
28 28
     }
29 29
 
30
+    /**
31
+     * @param string $alias
32
+     * @param string $class
33
+     */
30 34
     public function addAlias($alias, $class)
31 35
     {
32 36
         $handler = $this->getHandler($class);
Please login to merge, or discard this patch.
tests/AbstractTestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
  */
9 9
 abstract class AbstractTestCase extends TestCase
10 10
 {
11
+    /**
12
+     * @param string $exception
13
+     */
11 14
     public function expectException($exception)
12 15
     {
13 16
         version_compare(phpversion(), '7.0.0') > 0
Please login to merge, or discard this patch.
src/Format/XmlFormat.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return $hydrator($data[$this->getRoot($class)], $hydrators);
79 79
     }
80 80
 
81
+    /**
82
+     * @param \DOMDocument $parent
83
+     */
81 84
     private function parse(\DOMDocument $doc, $parent = null)
82 85
     {
83 86
         $ret = array();
Please login to merge, or discard this patch.
tests/SerializardTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Thunder\Serializard\FormatContainer\FormatContainer;
9 9
 use Thunder\Serializard\Hydrator\ReflectionHydrator;
10 10
 use Thunder\Serializard\HydratorContainer\FallbackHydratorContainer;
11
-use Thunder\Serializard\HydratorContainer\HydratorContainerInterface as Hydrators;
12 11
 use Thunder\Serializard\HydratorContainer\HydratorContainerInterface;
13 12
 use Thunder\Serializard\Normalizer\ReflectionNormalizer;
14 13
 use Thunder\Serializard\NormalizerContainer\FallbackNormalizerContainer;
Please login to merge, or discard this patch.
src/HydratorContainer/FallbackHydratorContainer.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
         }
28 28
     }
29 29
 
30
+    /**
31
+     * @param string $alias
32
+     * @param string $class
33
+     */
30 34
     public function addAlias($alias, $class)
31 35
     {
32 36
         $handler = $this->getHandler($class);
@@ -62,6 +66,9 @@  discard block
 block discarded – undo
62 66
         return null;
63 67
     }
64 68
 
69
+    /**
70
+     * @param string $class
71
+     */
65 72
     public function hydrate($class, array $data)
66 73
     {
67 74
         return call_user_func($this->getHandler($class), $data, $this);
Please login to merge, or discard this patch.