After some weird behavior, we dropped in a quick var_dump(func_get_args()); at the top of \Faker\Provider\Image::image resulting in only the first argument registering:
Honestly, we probably shouldn't even be writing images out to the filesystem like this to begin with and should just rely on Faker.imageUrl() instead. As you can see, it results in a silly amount of file i/o and residual files:
Within
data.json
, there is this use ofFaker.image()
:After some weird behavior, we dropped in a quick
var_dump(func_get_args());
at the top of\Faker\Provider\Image::image
resulting in only the first argument registering:Honestly, we probably shouldn't even be writing images out to the filesystem like this to begin with and should just rely on
Faker.imageUrl()
instead. As you can see, it results in a silly amount of file i/o and residual files: