Skip to content

Commit

Permalink
updated name
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDaDeng committed Dec 28, 2018
1 parent b49fdf8 commit f193c45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Facades/GoogleReCaptchaV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @method static GoogleReCaptchaV3Response verifyResponse($value, $ip = null)
* @method static \TimeHunter\LaravelGoogleReCaptchaV3\GoogleReCaptchaV3 setAction(string $value)
* @method static render($action)
* @see ReCaptcha
* @see \TimeHunter\LaravelGoogleReCaptchaV3\GoogleReCaptchaV3
*/
class GoogleReCaptchaV3 extends Facade
{
Expand Down
2 changes: 1 addition & 1 deletion src/GoogleReCaptchaV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function prepareViewData($mappers)
public function render($mappers)
{
if (! $this->getConfig()->isServiceEnabled()) {
return;
return null;
}
$data = $this->prepareViewData($mappers);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Illuminate\Contracts\Validation\ImplicitRule;
use TimeHunter\LaravelGoogleReCaptchaV3\Facades\GoogleReCaptchaV3;

class GoogleReCaptchaV2ValidationRule implements ImplicitRule
class GoogleReCaptchaV3ValidationRule implements ImplicitRule
{
protected $action;
protected $ip;
Expand Down

0 comments on commit f193c45

Please sign in to comment.