You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
992 B
10 lines
992 B
<?php
|
|
namespace PHPSTORM_META {
|
|
registerArgumentsSet("date_units", "millenania", "millennium", "century", "centuries", "decade", "decades", "year", "years", "y", "yr", "yrs", "quarter", "quarters", "month", "months", "mo", "mos", "week", "weeks", "w", "day", "days", "d", "hour", "hours", "h", "minute", "minutes", "m", "second", "seconds", "s", "millisecond", "milliseconds", "milli", "ms", "microsecond", "microseconds", "micro", "µs");
|
|
expectedArguments(\Carbon\Traits\Units::add(), 0, argumentsSet("date_units"));
|
|
expectedArguments(\Carbon\Traits\Units::add(), 1, argumentsSet("date_units"));
|
|
expectedArguments(\Carbon\CarbonInterface::add(), 0, argumentsSet("date_units"));
|
|
expectedArguments(\Carbon\CarbonInterface::add(), 1, argumentsSet("date_units"));
|
|
|
|
expectedArguments(\Carbon\CarbonInterface::getTimeFormatByPrecision(), 0, "minute", "second", "m", "millisecond", "µ", "microsecond", "minutes", "seconds", "ms", "milliseconds", "µs", "microseconds");
|
|
}
|
|
|