Browse Source

correct error type

antograssiot 10 years ago
parent
commit
8fab212a94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/I18n/Time.php

+ 1 - 1
src/I18n/Time.php

@@ -802,7 +802,7 @@ class Time extends Carbon implements JsonSerializable
      * Convenience method for getting the remaining time from a given time.
      *
      * @param DateTime $datetime The date to get the remaining time from.
-     * @return DateInterval|boolean The DateInterval object representing the difference between the two dates or FALSE on failure.
+     * @return DateInterval|bool The DateInterval object representing the difference between the two dates or FALSE on failure.
      */
     public static function fromNow($datetime)
     {