Skip to content

Commit 4747c89

Browse files
committed
Remove InvalidArgumentException
1 parent 39cf9c9 commit 4747c89

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ConvertKit_API.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,6 @@ public function form_subscribe(int $form_id, array $options)
181181
E_USER_NOTICE
182182
);
183183

184-
if (!is_int($form_id)) {
185-
throw new \InvalidArgumentException();
186-
}
187-
if (!is_array($options)) {
188-
throw new \InvalidArgumentException();
189-
}
190-
191184
// Add API Key to array of options.
192185
$options['api_key'] = $this->api_key;
193186

0 commit comments

Comments
 (0)