mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-10 19:32:07 +00:00
php-cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
685a5d745e
commit
2a1ceb67b4
48 changed files with 89 additions and 89 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue