File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1212 "require" : {
1313 "php" : " >=5.4.0" ,
1414 "nesbot/carbon" : " ^1.22" ,
15- "danielstjules/stringy" : " ^2.3"
15+ "danielstjules/stringy" : " ^2.3" ,
16+ "fzaninotto/faker" : " ^1.6"
1617 },
1718 "autoload" : {
1819 "psr-4" : {
2122 "files" : [
2223 " helpers.php"
2324 ]
24- },
25- "require-dev" : {
26- "fzaninotto/faker" : " ^1.6"
2725 }
2826}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ function base_layout_has($key)
151151if (!function_exists ('base_faker_factory ' )) {
152152 function base_faker_factory () {
153153 if (!class_exists ('Faker\Factory ' )) {
154- throw new Exception ('Faker library is not installed - are you running in production? ' );
154+ throw new Exception ('Faker library is not available. ' );
155155 }
156156
157157 return Faker \Factory::create ();
You can’t perform that action at this time.
0 commit comments