From 2a946c09de6264b9ef6a65800320c74021d77e14 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 25 Jan 2018 06:26:52 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#473 where SelectableOptionManager.php:addOptions() method had incorrect "array" type hint in method argument --- .../Fieldtype/FieldtypeOptions/SelectableOptionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Fieldtype/FieldtypeOptions/SelectableOptionManager.php b/wire/modules/Fieldtype/FieldtypeOptions/SelectableOptionManager.php index 494ef91a..6f9129b5 100644 --- a/wire/modules/Fieldtype/FieldtypeOptions/SelectableOptionManager.php +++ b/wire/modules/Fieldtype/FieldtypeOptions/SelectableOptionManager.php @@ -641,7 +641,7 @@ class SelectableOptionManager extends Wire { * @return int Number of options added * */ - public function addOptions(Field $field, array $options) { + public function addOptions(Field $field, $options) { $database = $this->wire('database');