@@ 77-79 (lines=3) @@ | ||
74 | if (in_array($parts[1], ['minute', 'minutes'])) { |
|
75 | $multiply = 60; |
|
76 | } |
|
77 | elseif (in_array($parts[1], ['hour', 'hours'])) { |
|
78 | $multiply = 60 * 60; |
|
79 | } |
|
80 | elseif (in_array($parts[1], ['day', 'days'])) { |
|
81 | $multiply = 60 * 60 * 24; |
|
82 | } |
|
@@ 80-82 (lines=3) @@ | ||
77 | elseif (in_array($parts[1], ['hour', 'hours'])) { |
|
78 | $multiply = 60 * 60; |
|
79 | } |
|
80 | elseif (in_array($parts[1], ['day', 'days'])) { |
|
81 | $multiply = 60 * 60 * 24; |
|
82 | } |
|
83 | elseif (in_array($parts[1], ['second', 'seconds'])) { |
|
84 | $multiply = 1; |
|
85 | } |