Completed
Pull Request — master (#7037)
by Damian
10:59
created
src/Core/Environment.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/php/Forms/DropdownFieldTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.