php-reading-time icon indicating copy to clipboard operation
php-reading-time copied to clipboard

⏱ Calculates reading time for text

Results 3 php-reading-time issues
Sort by recently updated
recently updated
newest added

# Changed log - Resolves issue #2.

As title, it seems that `ReadingTime::minute` method result should be `integer` type. ``` ...... public function minutes() { return str_word_count($this->content) / $this->wordsPerMinute; } ...... ``` The original result will return...

As title, I think we need to add the type hints or annotation comment `PHPDoc` style for all methods in classes. @DivineOmega, do you have any idea/approach about that?