1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.

This commit is contained in:
Cameron
2022-04-04 10:54:24 -07:00
parent 813f2bf38f
commit 55980a29a8
104 changed files with 5498 additions and 1221 deletions

View File

@@ -10,6 +10,10 @@
if (!defined('e107_INIT')) { exit; }
/**
*
*/
class secure_image
{
public $random_number;
@@ -187,7 +191,7 @@ class secure_image
/**
* Return the rendered code/image.
* @return mixed|string
* @return string
*/
public function renderImage() // Alias of r_image
{
@@ -195,6 +199,10 @@ class secure_image
}
/**
* @param $hex
* @return string
*/
private function hex2rgb($hex)
{
$hex = str_replace("#", "", $hex);
@@ -468,6 +476,11 @@ class secure_image
}
/**
* @param $x
* @param $y
* @return false|GdImage|resource
*/
private function imageCreateTransparent($x, $y)
{
$imageOut = imagecreatetruecolor($x, $y);