Completed
Push — dev ( b1013d...c10904 )
by Jonathan
11s queued 10s
created
src/Vectorface/SnappyRouter/Controller/AbstractController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     /**
94 94
      * Sets an element in the DI container for the specified key.
95 95
      * @param string $key The DI key.
96
-     * @param mixed  $element The DI element to store.
96
+     * @param HttpRequest  $element The DI element to store.
97 97
      * @return Di Returns the Di instance.
98 98
      */
99 99
     public function set($key, $element)
Please login to merge, or discard this patch.
src/Vectorface/SnappyRouter/Exception/MethodNotAllowedException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * Constructor for the method.
22 22
      * @param string $message The error message string.
23
-     * @param array $allowedMethods The array of methods that are allowed.
23
+     * @param string[] $allowedMethods The array of methods that are allowed.
24 24
      */
25 25
     public function __construct($message, $allowedMethods)
26 26
     {
Please login to merge, or discard this patch.
src/Vectorface/SnappyRouter/Handler/JsonRpcHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * Invokes a method on a service class, based on the raw JSON-RPC request.
201 201
      *
202 202
      * @param mixed $service The service being invoked.
203
-     * @param Vectorface\SnappyRouter\Request\JsonRpcRequest $request The request
203
+     * @param JsonRpcRequest $request The request
204 204
      *        to invoke.
205 205
      * @return JsonRpcResponse A response based on the result of the procedure call.
206 206
      */
Please login to merge, or discard this patch.
src/Vectorface/SnappyRouter/Request/HttpRequest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * @param string $param The GET data parameter.
92 92
      * @param mixed $defaultValue The default value to use when the key is not present.
93 93
      * @param mixed $filters The array of filters (or single filter) to apply to the data.
94
-     * @return mixed Returns the data from the GET parameter after being filtered (or
94
+     * @return string Returns the data from the GET parameter after being filtered (or
95 95
      *         the default value if the parameter is not present)
96 96
      */
97 97
     public function getQuery($param, $defaultValue = null, $filters = array())
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * @param string $param The POST data parameter.
121 121
      * @param mixed $defaultValue The default value to use when the key is not present.
122 122
      * @param mixed $filters The array of filters (or single filter) to apply to the data.
123
-     * @return mixed Returns the data from the POST parameter after being filtered (or
123
+     * @return string Returns the data from the POST parameter after being filtered (or
124 124
      *         the default value if the parameter is not present)
125 125
      */
126 126
     public function getPost($param, $defaultValue = null, $filters = array())
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      * @param mixed $defaultValue The default value to use if the key is not
165 165
      *        found in the array.
166 166
      * @param mixed $filters The array of input filters to apply (or single filter).
167
-     * @return mixed Returns the value filtered (or the default value filtered).
167
+     * @return string Returns the value filtered (or the default value filtered).
168 168
      */
169 169
     private function fetchInputValue($array, $param, $defaultValue, $filters)
170 170
     {
Please login to merge, or discard this patch.