File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 39
39
},
40
40
"require-dev" : {
41
41
"ext-xdebug" : " *" ,
42
- "aplus/coding-standard" : " ^2.4 " ,
42
+ "aplus/coding-standard" : " ^2.8 " ,
43
43
"ergebnis/composer-normalize" : " ^2.15" ,
44
44
"jetbrains/phpstorm-attributes" : " ^1.0" ,
45
45
"phpmd/phpmd" : " ^2.13" ,
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ public function getWidth() : int
254
254
* given image type or false on fail
255
255
*/
256
256
#[Pure]
257
- public function getExtension () : string | false
257
+ public function getExtension () : false | string
258
258
{
259
259
return \image_type_to_extension ($ this ->type );
260
260
}
@@ -277,7 +277,7 @@ public function getMime() : string
277
277
*
278
278
* @return bool
279
279
*/
280
- public function save (string $ filename = null ) : bool
280
+ public function save (? string $ filename = null ) : bool
281
281
{
282
282
$ filename ??= $ this ->filename ;
283
283
return match ($ this ->type ) {
You can’t perform that action at this time.
0 commit comments