|
@@ -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
|
|
* @link https://www.supportduweb.com/scripts_tutoriaux-code-source-41-gd-faire-un-degrade-en-php-gd-fonction-degrade-imagerie.html
|
|
|
*
|
|
*
|
|
|
* @access private
|
|
* @access private
|
|
|
- * @param GdImage $img
|
|
|
|
|
|
|
+ * @param resource|\GdImage $img
|
|
|
* @param string $direction
|
|
* @param string $direction
|
|
|
* @param array $color1
|
|
* @param array $color1
|
|
|
* @param array $color2
|
|
* @param array $color2
|
|
|
- * @return GdImage
|
|
|
|
|
|
|
+ * @return resource|\GdImage
|
|
|
*/
|
|
*/
|
|
|
private function degrade($img, $direction, $color1, $color2)
|
|
private function degrade($img, $direction, $color1, $color2)
|
|
|
{
|
|
{
|
|
@@ -208,7 +208,7 @@ class Vizhash16x16
|
|
|
* Draw a shape
|
|
* Draw a shape
|
|
|
*
|
|
*
|
|
|
* @access private
|
|
* @access private
|
|
|
- * @param resource $image
|
|
|
|
|
|
|
+ * @param resource|\GdImage $image
|
|
|
* @param int $action
|
|
* @param int $action
|
|
|
* @param int $color
|
|
* @param int $color
|
|
|
*/
|
|
*/
|