forked from fzaninotto/Faker
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
###Version:
v1.21.0 (latest at time of creation)
Summary
On the following line the imageUrl() docblock is telling me that there are only 6 parameters, see here:
Line 278 in e43a732
| * @method string imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false) |
But the method itself uses 7, as stated here:
Faker/src/Faker/Provider/Image.php
Line 53 in e43a732
| $format = 'png' |
Therefore PHPStorm or any other IDE will show the wrong autocomplete / hints.
Solution:
@method string imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false, $format = 'png')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working