Skip to content

Commit

Permalink
Use the Arr class instead of the helper
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Feb 27, 2019
1 parent f012c78 commit ec3702e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Rules/CaptchaRule.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace Arcanedev\NoCaptcha\Rules;

use Illuminate\Contracts\Validation\Rule;
use Illuminate\Support\Arr;

/**
* Class CaptchaRule
Expand Down Expand Up @@ -67,7 +68,7 @@ public function version($version)
*/
public function skipIps($ip)
{
$this->skipIps = array_wrap($ip);
$this->skipIps = Arr::wrap($ip);

return $this;
}
Expand Down

0 comments on commit ec3702e

Please sign in to comment.