You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation hasn't been updated in a while as it is "external" to php-src.
But if there is a stub file you should be able to create an PR with automatic fixes using the php-srcbuild/gen_stub.php --replace-methodsynopsis ../path/to/imagick/stub.php ../path/to/doc-en/reference/imagick
stefanfisk
added a commit
to stefanfisk/php-doc-en
that referenced
this issue
Nov 21, 2024
From manual page: https://php.net/imagickdraw.rectangle
The argument names for
ImagickDraw::rectangle()
and a bunch of other Imagick methods are wrong.Compare https://www.php.net/manual/en/imagickdraw.rectangle.php to https://github.com/Imagick/imagick/blob/28f27044e435a2b203e32675e942eb8de620ee58/ImagickDraw.stub.php#L77.
The official stub matches the actual code https://github.com/Imagick/imagick/blob/28f27044e435a2b203e32675e942eb8de620ee58/ImagickDraw_arginfo.h#L378.
The text was updated successfully, but these errors were encountered: