mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
address Scrutinizer reported issues
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user