1818use Config \Services ;
1919use InvalidArgumentException ;
2020use Locale ;
21+ use stdClass ;
2122
2223/**
2324 * Class IncomingRequest
@@ -478,7 +479,7 @@ public function getDefaultLocale(): string
478479 * @param int|null $filter Filter constant
479480 * @param mixed $flags
480481 *
481- * @return mixed
482+ * @return array|bool|float|int|stdClass|string|null
482483 */
483484 public function getVar ($ index = null , $ filter = null , $ flags = null )
484485 {
@@ -516,7 +517,7 @@ public function getVar($index = null, $filter = null, $flags = null)
516517 *
517518 * @see http://php.net/manual/en/function.json-decode.php
518519 *
519- * @return mixed
520+ * @return array|bool|float|int|stdClass|null
520521 */
521522 public function getJSON (bool $ assoc = false , int $ depth = 512 , int $ options = 0 )
522523 {
@@ -531,7 +532,7 @@ public function getJSON(bool $assoc = false, int $depth = 512, int $options = 0)
531532 * @param int|null $filter Filter Constant
532533 * @param array|int|null $flags Option
533534 *
534- * @return mixed
535+ * @return array|bool|float|int|stdClass|string|null
535536 */
536537 public function getJsonVar (string $ index , bool $ assoc = false , ?int $ filter = null , $ flags = null )
537538 {
@@ -565,7 +566,7 @@ public function getJsonVar(string $index, bool $assoc = false, ?int $filter = nu
565566 * A convenience method that grabs the raw input stream(send method in PUT, PATCH, DELETE) and decodes
566567 * the String into an array.
567568 *
568- * @return mixed
569+ * @return array
569570 */
570571 public function getRawInput ()
571572 {
0 commit comments