Permalink
Browse files

type fix [Closes #200]

  • Loading branch information...
dg committed Nov 30, 2018
1 parent 0208ece commit 97b8877c618fdb68236e7a1deac7cab7c55b1ad6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Forms/Controls/SubmitButton.php
@@ -65,7 +65,7 @@ public function isSubmittedBy(): bool
* Sets the validation scope. Clicking the button validates only the controls within the specified scope.
* @return static
*/
public function setValidationScope(?array $scope)
public function setValidationScope(?iterable $scope)
{
if ($scope === null) {
$this->validationScope = null;

0 comments on commit 97b8877

Please sign in to comment.