File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3939 },
4040 "require-dev" : {
4141 "ext-xdebug" : " *" ,
42- "aplus/coding-standard" : " ^2.4 " ,
42+ "aplus/coding-standard" : " ^2.8 " ,
4343 "ergebnis/composer-normalize" : " ^2.15" ,
4444 "jetbrains/phpstorm-attributes" : " ^1.0" ,
4545 "phpmd/phpmd" : " ^2.13" ,
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ public function getWidth() : int
254254 * given image type or false on fail
255255 */
256256 #[Pure]
257- public function getExtension () : string | false
257+ public function getExtension () : false | string
258258 {
259259 return \image_type_to_extension ($ this ->type );
260260 }
@@ -277,7 +277,7 @@ public function getMime() : string
277277 *
278278 * @return bool
279279 */
280- public function save (string $ filename = null ) : bool
280+ public function save (? string $ filename = null ) : bool
281281 {
282282 $ filename ??= $ this ->filename ;
283283 return match ($ this ->type ) {
You can’t perform that action at this time.
0 commit comments