@@ -41,9 +41,6 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Class constructor. |
| 43 | 43 | * |
| 44 | - * @param \stdClass $cacheConfig |
|
| 45 | - * Config parameters for cache. By default cache is activated and saves files |
|
| 46 | - * under system's temp dir. This parameter is used to set alternative options. |
|
| 47 | 44 | * |
| 48 | 45 | */ |
| 49 | 46 | public function __construct( |
@@ -60,7 +57,6 @@ discard block |
||
| 60 | 57 | * |
| 61 | 58 | * @param array|\stdClass $request The request to convert to an object. |
| 62 | 59 | * @param string $className The class of the object to which the request must be converted. |
| 63 | - * @param string $behaviour The behaviour of the parser. |
|
| 64 | 60 | */ |
| 65 | 61 | public function parseRequest( |
| 66 | 62 | $request, |
@@ -71,6 +67,10 @@ discard block |
||
| 71 | 67 | ->parse($this->sanitizeRequestOrThrowExceptionIfInvalid($request)); |
| 72 | 68 | } |
| 73 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $className |
|
| 72 | + * @param RequestParser $parser |
|
| 73 | + */ |
|
| 74 | 74 | private function generateRequestParserObject($className, $parser) |
| 75 | 75 | { |
| 76 | 76 | $cacheKey = str_replace('\\', '', $className . get_class($parser)); |
@@ -48,7 +48,6 @@ |
||
| 48 | 48 | * Filters and validates a value. And return the filtered value. |
| 49 | 49 | * It throws an exception if the value is not valid. |
| 50 | 50 | * |
| 51 | - * @param mixed $value |
|
| 52 | 51 | * @return mixed |
| 53 | 52 | * |
| 54 | 53 | * @throws \Mcustiel\SimpleRequest\Exception\InvalidValueException |