Completed
Branch develop (5a78d2)
by Mariano
03:30
created
src/Validator/Properties.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
         return $this->validateListItems(array_slice($keys, $count, count($list) - $count));
142 142
     }
143 143
 
144
+    /**
145
+     * @param integer[] $array
146
+     */
144 147
     private function validateListItems($array)
145 148
     {
146 149
         foreach ($array as $item) {
Please login to merge, or discard this patch.
src/RequestBuilder.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,9 +40,6 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Class constructor.
42 42
      *
43
-     * @param \stdClass $cacheConfig
44
-     *                               Config parameters for cache. By default cache is activated and saves files
45
-     *                               under system's temp dir. This parameter is used to set alternative options.
46 43
      *
47 44
      */
48 45
     public function __construct(
@@ -59,7 +56,6 @@  discard block
 block discarded – undo
59 56
      *
60 57
      * @param array|\stdClass $request   The request to convert to an object.
61 58
      * @param string          $className The class of the object to which the request must be converted.
62
-     * @param string          $behaviour The behaviour of the parser.
63 59
      */
64 60
     public function parseRequest(
65 61
         $request,
@@ -70,6 +66,10 @@  discard block
 block discarded – undo
70 66
             ->parse($this->sanitizeRequestOrThrowExceptionIfInvalid($request));
71 67
     }
72 68
 
69
+    /**
70
+     * @param string $className
71
+     * @param RequestParser $parser
72
+     */
73 73
     private function generateRequestParserObject($className, $parser)
74 74
     {
75 75
         $cacheKey = str_replace('\\', '', $className . get_class($parser));
Please login to merge, or discard this patch.
src/Strategies/Properties/SimplePropertyParser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
      * Filters and validates a value. And return the filtered value.
48 48
      * It throws an exception if the value is not valid.
49 49
      *
50
-     * @param  mixed $value
51 50
      * @return mixed
52 51
      *
53 52
      * @throws \Mcustiel\SimpleRequest\Exception\InvalidValueException
Please login to merge, or discard this patch.