Skip to content

Commit f66a411

Browse files
authored
Merge pull request #2 from steadfast-collective/development
Fix return typehinting
2 parents cdde8ae + 16e4a13 commit f66a411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Library/ConvertKit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function getCustomFields(): array
137137
* @param array $subscriber_data data to be passed to convert kit
138138
* @return boolean|array false on fail, array of subscriber data on success
139139
*/
140-
public function addSubscriberToForm(int $form, array $subscriber_data): array
140+
public function addSubscriberToForm(int $form, array $subscriber_data): array|bool
141141
{
142142
if(!$this->key) {
143143
return false;

0 commit comments

Comments
 (0)