Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Model/Resolver/AddressDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public function resolve(
Field $field,
$context,
ResolveInfo $info,
array $value = null,
array $args = null
?array $value = null,
?array $args = null
) {

if (!isset($args['context']) || !$args['context']) {
Expand Down
6 changes: 3 additions & 3 deletions Model/Resolver/Autocomplete.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
ull<?php

/**
* A Magento 2 module named Experius/Postcode
Expand Down Expand Up @@ -53,8 +53,8 @@ public function resolve(
Field $field,
$context,
ResolveInfo $info,
array $value = null,
array $args = null
?array $value = null,
?array $args = null
) {
if (!isset($args['countryId']) || !$args['countryId']) {
throw new GraphQlInputException(__('"countryId" should be specified'));
Expand Down
4 changes: 2 additions & 2 deletions Model/Resolver/Postcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public function resolve(
Field $field,
$context,
ResolveInfo $info,
array $value = null,
array $args = null
?array $value = null,
?array $args = null
) {
if (!isset($args['postcode']) || !$args['postcode']) {
throw new GraphQlInputException(__('"postcode" should be specified'));
Expand Down