]> git.mxchange.org Git - friendica.git/commitdiff
Parameter has to be float
authorMichael <heluecht@pirati.ca>
Fri, 20 Nov 2020 08:55:30 +0000 (08:55 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 20 Nov 2020 08:55:30 +0000 (08:55 +0000)
src/Util/Profiler.php

index 7bfc3c693ab945801adc36bd4583a2b33d48715d..5cc93e681537a27ae6b185375d98fb6f432f3ab5 100644 (file)
@@ -165,11 +165,11 @@ class Profiler implements ContainerInterface
 
        /**
         * Returns the rendertime string
-        * @param int $limit Minimal limit for displaying the execution duration
+        * @param float $limit Minimal limit for displaying the execution duration
         *
         * @return string the rendertime
         */
-       public function getRendertimeString(int $limit = 0)
+       public function getRendertimeString(float $limit = 0)
        {
                $output = '';