@@ -37,7 +37,7 @@ |
||
37 | 37 | * @param Array $values |
38 | 38 | * @throws \InvalidArgumentException |
39 | 39 | */ |
40 | - public function __construct(Array $values) |
|
40 | + public function __construct(array $values) |
|
41 | 41 | { |
42 | 42 | if (!isset($values['name'])) { |
43 | 43 | throw new InvalidArgumentException('Require value "name" is not present'); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * @param Array $values |
38 | 38 | * @throws \InvalidArgumentException |
39 | 39 | */ |
40 | - public function __construct(Array $values) |
|
40 | + public function __construct(array $values) |
|
41 | 41 | { |
42 | 42 | if (!isset($values['image'])) { |
43 | 43 | throw new InvalidArgumentException('Required value "image" is not present'); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @param Array $values |
45 | 45 | */ |
46 | - public function __construct(Array $values) |
|
46 | + public function __construct(array $values) |
|
47 | 47 | { |
48 | 48 | if (!isset($values['size'])) { |
49 | 49 | throw new InvalidArgumentException('Required value "size" is not present'); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @param string $url |
17 | 17 | * @param Array $options |
18 | 18 | */ |
19 | - public function get($url = null, Array $options = []); |
|
19 | + public function get($url = null, array $options = []); |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * Method that must be implement to make an HTTP Post request |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * @param string $url |
25 | 25 | * @param Array $options |
26 | 26 | */ |
27 | - public function post($url = null, Array $options = []); |
|
27 | + public function post($url = null, array $options = []); |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Method that takes in a request parameter and sends it as an |