Skip to content

Commit f59f9fa

Browse files
committed
Fix typo with ImageBoxesOptionsQuery. Closes #7
1 parent cf39573 commit f59f9fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/options/imageboxes-options.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static function query($query, $model = null): array {
9696
$image = $query['image'] ?? '{{ file.url }}';
9797
$query = $query['fetch'] ?? null;
9898
}
99-
$optionsQuery = new ImageRadioOptionsQuery([
99+
$optionsQuery = new ImageBoxesOptionsQuery([
100100
'aliases' => static::aliases(),
101101
'data' => static::data($model),
102102
'query' => $query,
@@ -106,4 +106,4 @@ public static function query($query, $model = null): array {
106106
]);
107107
return $optionsQuery->options();
108108
}
109-
}
109+
}

lib/options/imageboxes-optionsquery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ protected function setImage($image) {
3535
public function image() {
3636
return $this->image;
3737
}
38-
}
38+
}

0 commit comments

Comments
 (0)