Skip to content

Commit 6ec472e

Browse files
committed
Fix PHP 8.4 Deprecation
1 parent dd7176a commit 6ec472e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Gradient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ public function getCropMark(
846846
* (Check the "Entries in a Graphics State Parameter Dictionary" on PDF 32000-1:2008).
847847
*
848848
* @param bool $stroking If true apply overprint for stroking operations.
849-
* @param bool $nonstroking If true apply overprint for painting operations other than stroking.
849+
* @param bool|null $nonstroking If true apply overprint for painting operations other than stroking.
850850
* @param int $mode Overprint mode:
851851
* 0 = each source
852852
* colour
@@ -873,7 +873,7 @@ public function getCropMark(
873873
*/
874874
public function getOverprint(
875875
bool $stroking = true,
876-
bool $nonstroking = null,
876+
?bool $nonstroking = null,
877877
int $mode = 0
878878
): string {
879879
if ($nonstroking === null) {

0 commit comments

Comments
 (0)