@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Only increases up to the maximum defined in {@link setMemoryLimitMax()}, |
52 | 52 | * and defaults to the 'memory_limit' setting in the PHP configuration. |
53 | 53 | * |
54 | - * @param string|float|int $memoryLimit A memory limit string, such as "64M". If omitted, unlimited memory will be set. |
|
54 | + * @param integer $memoryLimit A memory limit string, such as "64M". If omitted, unlimited memory will be set. |
|
55 | 55 | * @return bool true indicates a successful change, false a denied change. |
56 | 56 | */ |
57 | 57 | public static function increaseMemoryLimitTo($memoryLimit = -1) |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @return int Memory limit in bytes |
|
99 | + * @return double Memory limit in bytes |
|
100 | 100 | */ |
101 | 101 | public static function getMemoryLimitMax() |
102 | 102 | { |
@@ -400,7 +400,7 @@ |
||
400 | 400 | * string of HTML. |
401 | 401 | * |
402 | 402 | * @param string $html HTML to scan for elements |
403 | - * @return SimpleXMLElement |
|
403 | + * @return \SimpleXMLElement[] |
|
404 | 404 | */ |
405 | 405 | public function findOptionElements($html) |
406 | 406 | { |