Completed
Pull Request — master (#3)
by Clayton
01:09
created
src/Sanitizer/Sanitizer.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
      *
38 38
      * @param  array  $data
39 39
      * @param  array  $rules      Rules to be applied to each data attribute
40
-     * @param  array  $filters    Available filters for this sanitizer
41 40
      */
42 41
     public function __construct(array $data, array $rules, array $customFilters = [])
43 42
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 namespace PerfectOblivion\Valid\Sanitizer;
8 8
 
9
-use Closure;
10
-use Illuminate\Support\Arr;
11
-use InvalidArgumentException;
12
-use PerfectOblivion\Valid\Sanitizer\Filters;
9
+use Closure;
10
+use Illuminate\Support\Arr;
11
+use InvalidArgumentException;
12
+use PerfectOblivion\Valid\Sanitizer\Filters;
13 13
 use Illuminate\Validation\ValidationRuleParser;
14 14
 
15 15
 class Sanitizer
Please login to merge, or discard this patch.
src/Sanitizer/Laravel/Factory.php 2 patches
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,6 @@
 block discarded – undo
42 42
      *  Add a custom filters to all Sanitizers created with this Factory.
43 43
      *
44 44
      *  @param  string  $name  Name of the filter
45
-     *  @param  mixed  $extension  Either the full class name of a Filter class implementing the Filter contract, or a Closure.
46
-     *
47
-     *  @throws InvalidArgumentException
48 45
      */
49 46
     public function extend($name, $customFilter)
50 47
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 
7 7
 namespace PerfectOblivion\Valid\Sanitizer\Laravel;
8 8
 
9
-use Closure;
10
-use InvalidArgumentException;
11
-use PerfectOblivion\Valid\Sanitizer\Sanitizer;
9
+use Closure;
10
+use InvalidArgumentException;
11
+use PerfectOblivion\Valid\Sanitizer\Sanitizer;
12 12
 use PerfectOblivion\Valid\Sanitizer\Contracts\Filter;
13 13
 
14 14
 class Factory
Please login to merge, or discard this patch.
src/Sanitizer/Laravel/FormRequest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 namespace PerfectOblivion\Valid\Sanitizer\Laravel;
8 8
 
9
-use PerfectOblivion\Valid\Sanitizer\Sanitizer;
9
+use PerfectOblivion\Valid\Sanitizer\Sanitizer;
10 10
 use Illuminate\Foundation\Http\FormRequest as LaravelFormRequest;
11 11
 
12 12
 class FormRequest extends LaravelFormRequest
Please login to merge, or discard this patch.