Skip to content

Commit

Permalink
IBX-1604: Fixed deprecation warning related to PHP8 (#11) (#118)
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
  • Loading branch information
mnocon and konradoboza authored Dec 15, 2021
1 parent 03bdeb0 commit cb1d4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/InputMapper/SearchQueryMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function ($sortClauseClass) {
*
* @return \eZ\Publish\API\Repository\Values\Content\Query\Criterion\DateMetadata[]
*/
private function mapDateMetadata(array $queryArg = [], $dateMetadata)
private function mapDateMetadata(array $queryArg, $dateMetadata)
{
if (!isset($queryArg[$dateMetadata]) || !is_array($queryArg[$dateMetadata])) {
return [];
Expand Down

0 comments on commit cb1d4d3

Please sign in to comment.