kylekatarnls/business-time

View on GitHub

Showing 227 of 228 total issues

Line exceeds 120 characters; contains 274 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      subClosedHours(CarbonInterface $date, int $numberOfHours, int $options = 0)                                                Subtract the given number of hours taking into account only closed time.

Line exceeds 120 characters; contains 281 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      closedOrNextOpen(CarbonInterface $date)                                                                                    Return current date-time if it's closed, else go to the next open date and time

Line exceeds 120 characters; contains 273 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      currentOrNextBusinessClose(CarbonInterface $date)                                                                          Return current date-time if it's closed, else go to the next close date

Line exceeds 120 characters; contains 277 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      currentOrPreviousBusinessClose(CarbonInterface $date)                                                                      Return current date-time if it's closed, else go to the previous close date

Line exceeds 120 characters; contains 309 characters
Open

 * @method \Carbon\CarbonInterval|float                                        diffInBusinessUnit(CarbonInterface $date, string $unit, $date = null, int $options = 0)                                    Return an interval/count of given unit with open/closed business time between the current date and an other

Line exceeds 120 characters; contains 271 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      previousBusinessClose(CarbonInterface $date)                                                                               Go to the previous close date and time or previous holiday if sooner.

Line exceeds 120 characters; contains 309 characters
Open

 * @method bool                                                                isClosedIncludingHolidays(CarbonInterface $date)                                                                           Returns true if the business is closed or a holiday now (or current date and time) according to current

Line exceeds 120 characters; contains 291 characters
Open

 * @method string|false                                                        getExtraWorkdayId(CarbonInterface $date)                                                                                   Get the identifier of the current special workday or false if it's not a special workday.

Line exceeds 120 characters; contains 241 characters
Open

 * @method array                                                               getHolidayNamesDictionary(CarbonInterface $date, $locale)                                                                  Get the holidays in the given language.

Line exceeds 120 characters; contains 248 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|null pushToBDList(CarbonInterface $date, string $list, $region, $day, $dayId = null)                                            Push a day into a given list list of a region.

Line exceeds 120 characters; contains 297 characters
Open

 * @method float                                                               diffInBusinessMinutes(CarbonInterface $date, $date = null, int $options = 0)                                               Return a number of minutes with open/closed business time between the current date and an other

Line exceeds 120 characters; contains 283 characters
Open

 * @method \Carbon\CarbonInterface|\Carbon\Carbon|\Carbon\CarbonImmutable      nextBusinessDay(CarbonInterface $date)                                                                                     Sets the date to the next business day (neither a weekend day nor a holiday).

Line exceeds 120 characters; contains 293 characters
Open

 * @method $this|null                                                          getObserveHolidayMethod(CarbonInterface $date, $holidayId = null, $observed = null, $self = null)                          Set a holiday as observed/unobserved in the selected zone (can take array of holidays).

Line exceeds 120 characters; contains 265 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      subOpenTime(CarbonInterface $date, $interval = null, $unit = null, int $options = 0)                                       Subtract the given interval taking into account only open time.

Line exceeds 120 characters; contains 276 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      subClosedMinutes(CarbonInterface $date, int $numberOfMinutes, int $options = 0)                                            Subtract the given number of minutes taking into account only closed time.

Line exceeds 120 characters; contains 312 characters
Open

 * @method bool                                                                isBusinessOpen(CarbonInterface $date)                                                                                      Returns true if the business is open and not a holiday now (or current date and time) according to current

Line exceeds 120 characters; contains 246 characters
Open

 * @method \Spatie\OpeningHours\OpeningHours                                   getOpeningHours(CarbonInterface $date, $mode = null)                                                                       Get the opening hours of the class/instance.

Line exceeds 120 characters; contains 249 characters
Open

 * @method $this|null                                                          observeHoliday(CarbonInterface $date, $holidayId = null, $observed = null, $self = null)                                   Set a holiday as observed in the selected zone.

Line exceeds 120 characters; contains 258 characters
Open

 * @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface      addBusinessDays(CarbonInterface $date, $days = 1, $date = null)                                                            Add a given number of business days to the current date.

Line exceeds 120 characters; contains 253 characters
Open

 * @method $this|null                                                          unobserveHoliday(CarbonInterface $date, $holidayId = null, $observed = null, $self = null)                                 Set a holiday as not observed in the selected zone.
Severity
Category
Status
Source
Language