Skip to content

Commit

Permalink
Merge pull request #16 from marad3r/patch-1
Browse files Browse the repository at this point in the history
Updated Docblock class namespace references for better IDE support
  • Loading branch information
mtownsend5512 authored Sep 17, 2020
2 parents b1e78cf + 8ffade8 commit ecf7bf7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ReadTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function __invoke()
* Abbreviate the minutes/seconds
*
* @param bool $abbreviated
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function abbreviated($abbreviated = true)
{
Expand Down Expand Up @@ -239,7 +239,7 @@ protected function invalidContent($content): bool
* Set ltr mode for the read time
*
* @param bool
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function ltr(bool $ltr = true)
{
Expand All @@ -251,7 +251,7 @@ public function ltr(bool $ltr = true)
* Omit seconds from being displayed in the read time result
*
* @param bool $omitSeconds
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function omitSeconds(bool $omitSeconds = true)
{
Expand Down Expand Up @@ -313,7 +313,7 @@ public function rtl(bool $rtl = true)
* Set the translation keys for the read time string
*
* @param array $translations An associative array of translation text
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function setTranslation(array $translations)
{
Expand All @@ -331,7 +331,7 @@ public function setTranslation(array $translations)
* Determine if any text should accompany the time in the read time
*
* @param bool $timeOnly
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function timeOnly(bool $timeOnly = true)
{
Expand Down Expand Up @@ -372,7 +372,7 @@ public function toJson(): string
* Set the average words read per minute
*
* @param int $wordsPerMinute
* @return Mtownsend\ReadTime\ReadTime
* @return \Mtownsend\ReadTime\ReadTime
*/
public function wpm(int $wordsPerMinute)
{
Expand Down

0 comments on commit ecf7bf7

Please sign in to comment.