mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
More functions without type hinting found and fixt
Use PECL yaml (else Spyc) Upgrade Spyc (with removed dump code)
This commit is contained in:
parent
cd3d8b94b2
commit
75b4b64118
43 changed files with 893 additions and 1482 deletions
|
|
@ -776,7 +776,7 @@ class RecurrenceIterator implements \Iterator {
|
|||
if ($this->byHour) {
|
||||
if ($this->currentDate->format('G') == '23') {
|
||||
// to obey the interval rule
|
||||
$this->currentDate->modify('+' . $this->interval-1 . ' days');
|
||||
$this->currentDate->modify('+' . ($this->interval-1) . ' days');
|
||||
}
|
||||
|
||||
$this->currentDate->modify('+1 hours');
|
||||
|
|
@ -835,7 +835,7 @@ class RecurrenceIterator implements \Iterator {
|
|||
|
||||
// We need to roll over to the next week
|
||||
if ($currentDay === $firstDay && (!$this->byHour || $currentHour == '0')) {
|
||||
$this->currentDate->modify('+' . $this->interval-1 . ' weeks');
|
||||
$this->currentDate->modify('+' . ($this->interval-1) . ' weeks');
|
||||
|
||||
// We need to go to the first day of this week, but only if we
|
||||
// are not already on this first day of this week.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue