Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit eaec49a

Browse files
committed
2.0.0 - Improved version only compatible with PHP > 7.0
1 parent 587c105 commit eaec49a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ matrix:
3434
before_script:
3535
- export PATH="./vendor/bin:$PATH"
3636
- travis_retry composer self-update
37-
- travis_retry composer install --no-interaction --prefer-source --dev
37+
- travis_retry composer install --no-interaction --prefer-source
3838

3939
script:
4040
- php -S localhost:9000 -t tests/ &

src/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function asArray(array $filters = [], $default = null) : array
106106
* @param array $filters → object with data type for each key
107107
* @param mixed $default → default value for non-existent or incorrect keys
108108
*/
109-
public function asObject(array $filters = [], $default = null) : object
109+
public function asObject(array $filters = [], $default = null) : stdClass
110110
{
111111
$object = Validate::asObject($this->params[$this->key] ?? $this->params, (object) []);
112112

0 commit comments

Comments
 (0)