Skip to content

Commit

Permalink
Fix PHP 8.4 Deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Dec 26, 2024
1 parent dd7176a commit 6ec472e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gradient.php
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ public function getCropMark(
* (Check the "Entries in a Graphics State Parameter Dictionary" on PDF 32000-1:2008).
*
* @param bool $stroking If true apply overprint for stroking operations.
* @param bool $nonstroking If true apply overprint for painting operations other than stroking.
* @param bool|null $nonstroking If true apply overprint for painting operations other than stroking.
* @param int $mode Overprint mode:
* 0 = each source
* colour
Expand All @@ -873,7 +873,7 @@ public function getCropMark(
*/
public function getOverprint(
bool $stroking = true,
bool $nonstroking = null,
?bool $nonstroking = null,
int $mode = 0
): string {
if ($nonstroking === null) {
Expand Down

0 comments on commit 6ec472e

Please sign in to comment.