Skip to content

Commit c5f87a5

Browse files
update
1 parent 0cdbf65 commit c5f87a5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Traits/TimeTrait.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -302,20 +302,20 @@ private static function nonExistMethod($method = null, $args = null, $clone = nu
302302
// create correct method name
303303
$method = match ($name) {
304304
'greetings', 'greeting' => '__greeting',
305-
'tojs', 'jstimer' => 'toJsTimer',
306-
's', 'sec', 'secs', 'getseconds', 'getsec' => '__second',
307-
'min', 'mins', 'getminute', 'getminutes', 'getmin', 'getmins' => '__min',
308-
'hr', 'hrs', 'hour', 'hours', 'gethr', 'gethours', 'gethour' => '__hour',
309-
'getday', 'getdays', 'getd', 'day', 'days' => '__day',
310-
'getweek', 'getweeks', 'week', 'weeks', 'getw' => '__week',
311-
'getmonths', 'getmonth', 'getm', 'month', 'months' => '__month',
312-
'getyr', 'getyears', 'getyear', 'year', 'years', 'yr', 'yrs', 'y' => '__year',
313-
'time', 'gettimes', 'gettime', 'getdate' => '__date',
305+
'jstimer' => 'toJsTimer',
306+
'sec', 'getsec' => '__second',
307+
'min', 'getmin' => '__min',
308+
'hour', 'gethour' => '__hour',
309+
'getday', 'day' => '__day',
310+
'getweek', 'week' => '__week',
311+
'getmonth', 'month' => '__month',
312+
'getyear', 'year' => '__year',
313+
'time', 'gettime' => '__date',
314314
'setdate' => '__setDate',
315315
'gettimezone' => '__getTimezone',
316316
'settimezone' => '__setTimezone',
317-
'diffbetween', 'timediffbetween' => '__timeDifferenceBetween',
318-
'diff', 'timediff', 'timedifference' => '__timeDifference',
317+
'diffbetween', => '__timeDifferenceBetween',
318+
'diff' => '__timeDifference',
319319
'daterange', 'range' => 'dateRange',
320320
'ago', 'timeago' => '__timeAgo',
321321
'addsecond' => 'addSeconds',

0 commit comments

Comments
 (0)