@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | { |
64 | 64 | switch ($configuration->getEndDateDynamic()) { |
65 | 65 | case Configuration::END_DYNAMIC_1_DAY: |
66 | - $callback = function ($entry) { |
|
66 | + $callback = function($entry) { |
|
67 | 67 | if ($entry['start_date'] instanceof \DateTime) { |
68 | 68 | $entry['end_date'] = clone $entry['start_date']; |
69 | 69 | $entry['end_date']->modify('+1 day'); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | }; |
74 | 74 | break; |
75 | 75 | case Configuration::END_DYNAMIC_1_WEEK: |
76 | - $callback = function ($entry) { |
|
76 | + $callback = function($entry) { |
|
77 | 77 | if ($entry['start_date'] instanceof \DateTime) { |
78 | 78 | $entry['end_date'] = clone $entry['start_date']; |
79 | 79 | $entry['end_date']->modify('+1 week'); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | }; |
84 | 84 | break; |
85 | 85 | case Configuration::END_DYNAMIC_END_WEEK: |
86 | - $callback = function ($entry) { |
|
86 | + $callback = function($entry) { |
|
87 | 87 | if ($entry['start_date'] instanceof \DateTime) { |
88 | 88 | $entry['end_date'] = clone $entry['start_date']; |
89 | 89 | $entry['end_date']->modify('monday next week'); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | }; |
95 | 95 | break; |
96 | 96 | case Configuration::END_DYNAMIC_END_MONTH: |
97 | - $callback = function ($entry) { |
|
97 | + $callback = function($entry) { |
|
98 | 98 | if ($entry['start_date'] instanceof \DateTime) { |
99 | 99 | $entry['end_date'] = clone $entry['start_date']; |
100 | 100 | $entry['end_date']->modify('last day of this month'); |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | }; |
105 | 105 | break; |
106 | 106 | case Configuration::END_DYNAMIC_END_YEAR: |
107 | - $callback = function ($entry) { |
|
107 | + $callback = function($entry) { |
|
108 | 108 | if ($entry['start_date'] instanceof \DateTime) { |
109 | 109 | $entry['end_date'] = clone $entry['start_date']; |
110 | 110 | $entry['end_date']->setDate((int)$entry['end_date']->format('Y'), 12, 31); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | return preg_replace( |
35 | 35 | // Line folding after 75 characters: RFC-5545/3-1-content-lines |
36 | 36 | // Base on: sabre/vobject |
37 | - '/( |
|
37 | + '/( |
|
38 | 38 | (?:^.)? # 1 additional byte in first line because of missing single space (see next line) |
39 | 39 | .{74} # 75 bytes per line (1 byte is used for a single space added after every CRLF) |
40 | 40 | (?![\x80-\xbf]) # prevent splitting multibyte characters |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * Render a link with action and controller. |
27 | 27 | * |
28 | 28 | * @param array $controllerArguments |
29 | - * @param null $pageUid |
|
29 | + * @param integer $pageUid |
|
30 | 30 | * |
31 | 31 | * @return mixed|string |
32 | 32 | */ |