]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Tools/Utils.php
php-cs-fixer
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Tools / Utils.php
index eba21c025d71cb86c79874f4c2ca26b978ffac66..46bb1dc5c82441cd8277f00dc121eec84298697e 100644 (file)
@@ -29,6 +29,6 @@ class Utils
      */
     public static function getReadingTime($text)
     {
-        return floor(count(preg_split('~[^\p{L}\p{N}\']+~u', strip_tags($text))) / 200);
+        return floor(\count(preg_split('~[^\p{L}\p{N}\']+~u', strip_tags($text))) / 200);
     }
 }