| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @package VikWP - Libraries |
| 4 | 4 | * @subpackage adapter.input |
| 5 | 5 | * @author E4J s.r.l. |
| 6 | - * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. | |
| 6 | + * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved. | |
| 7 | 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | 8 | * @link https://vikwp.com |
| 9 | 9 | */ |
| 10 | 10 | |
| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | * |
| 33 | 33 | * @param array $source Source data (Optional, default is the raw HTTP input decoded from JSON) |
| 34 | 34 | * @param array $options Array of configuration parameters (Optional) |
| 35 | 35 | */ |
| 36 | - public function __construct(array $source = null, array $options = array()) | |
| 36 | + public function __construct(?array $source = null, array $options = array()) | |
| 37 | 37 | { |
| 38 | 38 | if (isset($options['filter'])) |
| 39 | 39 | { |
| 40 | 40 | $this->filter = $options['filter']; |