Skip to content

Wrong imageUrl docblock #630

@pascalvgemert

Description

@pascalvgemert

###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:

* @method string imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false)

But the method itself uses 7, as stated here:

$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')

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions