@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @param float $floatnumber |
50 | 50 | * |
51 | - * @return float|int returns int (if possible, otherwise float) |
|
51 | + * @return integer returns int (if possible, otherwise float) |
|
52 | 52 | */ |
53 | 53 | public static function trunc($floatnumber) { |
54 | 54 | if ($floatnumber >= 1) { |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * @param string $binarypointnumber |
148 | 148 | * @param int $maxbits |
149 | 149 | * |
150 | - * @return array |
|
150 | + * @return integer |
|
151 | 151 | */ |
152 | 152 | public static function NormalizeBinaryPoint($binarypointnumber, $maxbits=52) { |
153 | 153 | if (strpos($binarypointnumber, '.') === false) { |
@@ -732,7 +732,7 @@ discard block |
||
732 | 732 | } |
733 | 733 | |
734 | 734 | /** |
735 | - * @param SimpleXMLElement|array|mixed $XMLobject |
|
735 | + * @param SimpleXMLElement $XMLobject |
|
736 | 736 | * |
737 | 737 | * @return mixed |
738 | 738 | */ |
@@ -1473,7 +1473,7 @@ discard block |
||
1473 | 1473 | * @param string $imgData |
1474 | 1474 | * @param array $imageinfo |
1475 | 1475 | * |
1476 | - * @return array|false |
|
1476 | + * @return string |
|
1477 | 1477 | */ |
1478 | 1478 | public static function GetDataImageSize($imgData, &$imageinfo=array()) { |
1479 | 1479 | if (PHP_VERSION_ID >= 50400) { |
@@ -1714,7 +1714,7 @@ discard block |
||
1714 | 1714 | /** |
1715 | 1715 | * @param string $path |
1716 | 1716 | * |
1717 | - * @return float|bool |
|
1717 | + * @return integer |
|
1718 | 1718 | */ |
1719 | 1719 | public static function getFileSizeSyscall($path) { |
1720 | 1720 | $filesize = false; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | * @param int $Cb |
110 | 110 | * @param int $Cr |
111 | 111 | * |
112 | - * @return int |
|
112 | + * @return double |
|
113 | 113 | */ |
114 | 114 | public function YCbCr2RGB($Y, $Cb, $Cr) { |
115 | 115 | static $YCbCr_constants = array(); |