Skip to content

Commit

Permalink
Update PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Mar 12, 2019
1 parent 00a8231 commit dd16fed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phpdoc.php
Expand Up @@ -507,7 +507,7 @@ function compileDoc($autoDocLines)
$methodDocBlock = "\n /**\n".
" * call \DateTime::$method if mutable or \DateTimeImmutable::$method else.\n".
" *\n".
" * @see http://php.net/manual/en/datetime.$link.php\n".
" * @see https://php.net/manual/en/datetime.$link.php\n".
' */';
}
$methods .= "\n$methodDocBlock\n public$static function $method($parameters)$return;";
Expand Down
3 changes: 2 additions & 1 deletion src/Carbon/CarbonInterface.php
Expand Up @@ -2726,7 +2726,7 @@ public static function mixin($mixin);
/**
* call \DateTime::modify if mutable or \DateTimeImmutable::modify else.
*
* @see http://php.net/manual/en/datetime.modify.php
* @see https://php.net/manual/en/datetime.modify.php
*/
public function modify($modify);

Expand Down Expand Up @@ -4063,6 +4063,7 @@ public function translate(string $key, array $parameters = [], $number = null, \
* - CarbonInterface::TRANSLATE_MONTHS
* - CarbonInterface::TRANSLATE_DAYS
* - CarbonInterface::TRANSLATE_UNITS
* - CarbonInterface::TRANSLATE_MERIDIEM
* You can use pipe to group: CarbonInterface::TRANSLATE_MONTHS | CarbonInterface::TRANSLATE_DAYS
*
* @return string
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/Factory.php
Expand Up @@ -55,7 +55,7 @@
* @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
* name, region and variant of the locale.
* @method array getDays() Get the days of the week
* @method string|string getFallbackLocale() Get the fallback locale.
* @method string|null getFallbackLocale() Get the fallback locale.
* @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
* @method int getHumanDiffOptions() @return int
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/FactoryImmutable.php
Expand Up @@ -55,7 +55,7 @@
* @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
* name, region and variant of the locale.
* @method array getDays() Get the days of the week
* @method string|string getFallbackLocale() Get the fallback locale.
* @method string|null getFallbackLocale() Get the fallback locale.
* @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
* @method int getHumanDiffOptions() @return int
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
Expand Down

0 comments on commit dd16fed

Please sign in to comment.