From d353003086b667e2045aa350140c01dad9867c5e Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 19 Jul 2025 21:47:18 +0200 Subject: [PATCH] address Scrutinizer reported issues --- lib/Vizhash16x16.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Vizhash16x16.php b/lib/Vizhash16x16.php index abd5aa61..12c2efcc 100644 --- a/lib/Vizhash16x16.php +++ b/lib/Vizhash16x16.php @@ -171,11 +171,11 @@ class Vizhash16x16 * @link https://www.supportduweb.com/scripts_tutoriaux-code-source-41-gd-faire-un-degrade-en-php-gd-fonction-degrade-imagerie.html * * @access private - * @param GdImage $img + * @param resource|\GdImage $img * @param string $direction * @param array $color1 * @param array $color2 - * @return GdImage + * @return resource|\GdImage */ private function degrade($img, $direction, $color1, $color2) { @@ -208,7 +208,7 @@ class Vizhash16x16 * Draw a shape * * @access private - * @param resource $image + * @param resource|\GdImage $image * @param int $action * @param int $color */