aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-01-04 11:22:43 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-01-04 11:23:33 +0100
commit35983eb9bbbf78041ff9f6679ca345850f41c5f1 (patch)
tree4500aee28a97595423e71e3f189d3aa0a50eff72 /src
parent5becf260fafd741fd34948f12131d8074dc2b5dc (diff)
downloadwallabag-35983eb9bbbf78041ff9f6679ca345850f41c5f1.tar.gz
wallabag-35983eb9bbbf78041ff9f6679ca345850f41c5f1.tar.zst
wallabag-35983eb9bbbf78041ff9f6679ca345850f41c5f1.zip
Improve reading time tests
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Tools/Utils.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Tools/Utils.php b/src/Wallabag/CoreBundle/Tools/Utils.php
index 0a805210..c14d2aa0 100644
--- a/src/Wallabag/CoreBundle/Tools/Utils.php
+++ b/src/Wallabag/CoreBundle/Tools/Utils.php
@@ -20,10 +20,9 @@ class Utils
20 } 20 }
21 21
22 /** 22 /**
23 * For a given text, we calculate reading time for an article 23 * For a given text, we calculate reading time for an article based on 200 words per minute.
24 * based on 200 words per minute.
25 * 24 *
26 * @param $text 25 * @param string $text
27 * 26 *
28 * @return float 27 * @return float
29 */ 28 */