Commit 1ee35c8
committed
Fix compatibility with PHP 8.3.0
The imagerotate() function used to take 3 parameters. Then, in PHP
5.1.0, an optional fourth parameter was added. And now, in PHP 8.3.0,
that parameter has been removed. Since the code in GdAdapter always
explicitly provides the fourth parameter when calling the function,
this causes it to fail with an ArgumentCountError under PHP 8.3.0.
This commit removes the unused fourth parameter from all call sites.1 parent 274511f commit 1ee35c8
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments