File tree Expand file tree Collapse file tree 5 files changed +4
-11
lines changed Expand file tree Collapse file tree 5 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 33composer.lock
44/.idea
55.DS_Store
6+ .php_cs.cache
Original file line number Diff line number Diff line change 11<?php
22
3-
43namespace Database \Factories ;
54
6-
75use Faker \Provider \Lorem ;
8- use Faker \Provider \Text ;
96use Givebutter \LaravelCustomFields \Models \CustomField ;
107use Illuminate \Database \Eloquent \Factories \Factory ;
11- use Illuminate \Support \Arr ;
12- use Illuminate \Support \Str ;
138
149class CustomFieldFactory extends Factory
1510{
@@ -22,7 +17,6 @@ class CustomFieldFactory extends Factory
2217
2318 public function definition ()
2419 {
25-
2620 $ typesRequireAnswers = [
2721 CustomField::TYPE_CHECKBOX => false ,
2822 CustomField::TYPE_NUMBER => false ,
@@ -111,6 +105,5 @@ public function withAnswers($answers = 3)
111105 }
112106
113107 throw new \Exception ("withAnswers only accepts a number or an array " );
114-
115108 }
116- }
109+ }
Original file line number Diff line number Diff line change 33namespace Givebutter \LaravelCustomFields \Models ;
44
55use Illuminate \Database \Eloquent \Factories \HasFactory ;
6- use Illuminate \Database \Eloquent \SoftDeletes ;
76use Illuminate \Database \Eloquent \Model ;
7+ use Illuminate \Database \Eloquent \SoftDeletes ;
88use Illuminate \Validation \Rule ;
99
1010class CustomField extends Model
Original file line number Diff line number Diff line change 1- <?php
1+ <?php
22
33namespace Givebutter \LaravelCustomFields \Validators ;
44
Original file line number Diff line number Diff line change 33namespace Givebutter \Tests ;
44
55use Givebutter \LaravelCustomFields \LaravelCustomFieldsServiceProvider ;
6- use Givebutter \Tests \Support \Survey ;
76use Illuminate \Database \Schema \Blueprint ;
87use Orchestra \Testbench \TestCase as OrchestraTestCase ;
98
You can’t perform that action at this time.
0 commit comments