From 70fcaf64c3ec2a5ff3d399003a6b3a1b9c35d4f5 Mon Sep 17 00:00:00 2001 From: Buchholz Date: Tue, 19 Oct 2021 22:28:25 +0200 Subject: [PATCH] Required parameter follows optional parameter order changed --- include/tool/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tool/Image.php b/include/tool/Image.php index 1ec3d1b..8f29b7a 100644 --- a/include/tool/Image.php +++ b/include/tool/Image.php @@ -205,7 +205,7 @@ namespace gp\tool{ * @param string $type_file a string representing the type of the source file (svg, svgz) * @return bool */ - static function CreateRectSVG($source_path, $dest_path, $width=50, $height=50, $keep_aspect_ratio){ + static function CreateRectSVG($source_path, $dest_path, $keep_aspect_ratio, $width=50, $height=50){ $src_svg = @file_get_contents($source_path); if( !$src_svg ){