Skip to content

Commit

Permalink
fix: specify type on static::$items[$carrierSlug]
Browse files Browse the repository at this point in the history
  • Loading branch information
kryswoj committed Aug 4, 2023
1 parent 593e5bd commit 7e896bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store/Recipient.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function insert(string $carrierSlug, string $slug, Interfaces\Rece
if (
array_key_exists(
$slug,
static::$items[$carrierSlug]
(array) static::$items[$carrierSlug]
)
) {
ErrorHandler::error(
Expand Down

0 comments on commit 7e896bf

Please sign in to comment.