@@ -22,41 +22,41 @@ public function definition(): array
22
22
{
23
23
return [
24
24
'bigInteger ' => $ this ->faker ->numberBetween (-100000 , 100000 ),
25
- 'binary ' => $ this ->faker ->sha256 ,
26
- 'boolean ' => $ this ->faker ->boolean ,
27
- 'char ' => $ this ->faker ->randomLetter ,
25
+ 'binary ' => $ this ->faker ->sha256 () ,
26
+ 'boolean ' => $ this ->faker ->boolean () ,
27
+ 'char ' => $ this ->faker ->randomLetter () ,
28
28
'date ' => $ this ->faker ->date (),
29
29
'dateTime ' => $ this ->faker ->dateTime (),
30
30
'dateTimeTz ' => $ this ->faker ->dateTime (),
31
31
'decimal ' => $ this ->faker ->randomFloat (0 , 0 , 9999999999. ),
32
32
'double ' => $ this ->faker ->randomFloat (0 , 0 , 9999999999. ),
33
33
'enum ' => $ this ->faker ->randomElement (["1 " ,"2 " ,"3 " ]),
34
34
'float ' => $ this ->faker ->randomFloat (0 , 0 , 9999999999. ),
35
- 'fullText ' => $ this ->faker ->text ,
36
- 'geometry ' => $ this ->faker ->word ,
37
- 'geometryCollection ' => $ this ->faker ->word ,
35
+ 'fullText ' => $ this ->faker ->text () ,
36
+ 'geometry ' => $ this ->faker ->word () ,
37
+ 'geometryCollection ' => $ this ->faker ->word () ,
38
38
'integer ' => $ this ->faker ->numberBetween (-10000 , 10000 ),
39
- 'ipAddress ' => $ this ->faker ->ipv4 ,
39
+ 'ipAddress ' => $ this ->faker ->ipv4 () ,
40
40
'json ' => '{} ' ,
41
41
'jsonb ' => '{} ' ,
42
- 'lineString ' => $ this ->faker ->word ,
43
- 'longText ' => $ this ->faker ->text ,
44
- 'macAddress ' => $ this ->faker ->macAddress ,
42
+ 'lineString ' => $ this ->faker ->word () ,
43
+ 'longText ' => $ this ->faker ->text () ,
44
+ 'macAddress ' => $ this ->faker ->macAddress () ,
45
45
'mediumInteger ' => $ this ->faker ->numberBetween (-10000 , 10000 ),
46
- 'mediumText ' => $ this ->faker ->text ,
47
- 'morphs_id ' => $ this ->faker ->randomDigitNotNull ,
48
- 'morphs_type ' => $ this ->faker ->word ,
49
- 'uuidMorphs ' => $ this ->faker ->word ,
50
- 'multiLineString ' => $ this ->faker ->word ,
51
- 'multiPoint ' => $ this ->faker ->word ,
52
- 'multiPolygon ' => $ this ->faker ->word ,
53
- 'point ' => $ this ->faker ->word ,
54
- 'polygon ' => $ this ->faker ->word ,
46
+ 'mediumText ' => $ this ->faker ->text () ,
47
+ 'morphs_id ' => $ this ->faker ->randomDigitNotNull () ,
48
+ 'morphs_type ' => $ this ->faker ->word () ,
49
+ 'uuidMorphs ' => $ this ->faker ->word () ,
50
+ 'multiLineString ' => $ this ->faker ->word () ,
51
+ 'multiPoint ' => $ this ->faker ->word () ,
52
+ 'multiPolygon ' => $ this ->faker ->word () ,
53
+ 'point ' => $ this ->faker ->word () ,
54
+ 'polygon ' => $ this ->faker ->word () ,
55
55
'rememberToken ' => Str::random (10 ),
56
56
'set ' => $ this ->faker ->randomElement (["1 " ,"2 " ,"3 " ]),
57
57
'smallInteger ' => $ this ->faker ->numberBetween (-1000 , 1000 ),
58
- 'string ' => $ this ->faker ->word ,
59
- 'text ' => $ this ->faker ->text ,
58
+ 'string ' => $ this ->faker ->word () ,
59
+ 'text ' => $ this ->faker ->text () ,
60
60
'time ' => $ this ->faker ->time (),
61
61
'timeTz ' => $ this ->faker ->time (),
62
62
'timestamp ' => $ this ->faker ->dateTime (),
@@ -67,8 +67,8 @@ public function definition(): array
67
67
'unsignedInteger ' => $ this ->faker ->randomNumber (),
68
68
'unsignedMediumInteger ' => $ this ->faker ->randomNumber (),
69
69
'unsignedSmallInteger ' => $ this ->faker ->randomNumber (),
70
- 'unsignedTinyInteger ' => $ this ->faker ->randomDigitNotNull ,
71
- 'uuid ' => $ this ->faker ->uuid ,
70
+ 'unsignedTinyInteger ' => $ this ->faker ->randomDigitNotNull () ,
71
+ 'uuid ' => $ this ->faker ->uuid () ,
72
72
'year ' => $ this ->faker ->year (),
73
73
];
74
74
}
0 commit comments