Skip to content

Commit

Permalink
Merge pull request #262 from alisafari/patch-1
Browse files Browse the repository at this point in the history
Update helpers.php
  • Loading branch information
mewebstudio committed May 29, 2023
2 parents 148d194 + 2ddab29 commit 121e322
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/helpers.php
Expand Up @@ -29,11 +29,12 @@ function captcha_src(string $config = 'default'): string

/**
* @param string $config
* @param array $attrs
* @return string
*/
function captcha_img(string $config = 'default'): string
function captcha_img(string $config = 'default', array $attrs = []): string
{
return app('captcha')->img($config);
return app('captcha')->img($config, $attrs);
}
}

Expand Down

0 comments on commit 121e322

Please sign in to comment.