Skip to content

Commit

Permalink
[phpstorm-stubs] Added default values for parameters in imagegd2().
Browse files Browse the repository at this point in the history
  • Loading branch information
LolGleb committed Aug 30, 2023
1 parent 788fdbd commit b037918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gd/gd.php
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ function imagegd(GdImage $image, ?string $file = null): bool {}
* </p>
* @return bool true on success or false on failure.
*/
function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = null, int $mode = null): bool {}
function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = 128, int $mode = IMG_GD2_RAW): bool {}

/**
* Destroy an image
Expand Down

0 comments on commit b037918

Please sign in to comment.