@@ -70,7 +70,7 @@ |
||
70 | 70 | * Send the content type header and the right file extension in front of the content |
71 | 71 | * |
72 | 72 | * @param $contentType |
73 | - * @param $fileExtension |
|
73 | + * @param string $fileExtension |
|
74 | 74 | */ |
75 | 75 | protected function sendHeaderAndFilename($contentType, $fileExtension) |
76 | 76 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * Find List |
104 | 104 | * |
105 | 105 | * @param int $limit |
106 | - * @param int|string $listStartTime |
|
106 | + * @param integer $listStartTime |
|
107 | 107 | * @param int $startOffsetHours |
108 | 108 | * @param int $overrideStartDate |
109 | 109 | * @param int $overrideEndDate |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * Find by traversing information |
185 | 185 | * |
186 | 186 | * @param Index $index |
187 | - * @param bool|true $future |
|
187 | + * @param boolean $future |
|
188 | 188 | * @param bool|false $past |
189 | 189 | * @param int $limit |
190 | 190 | * @param string $sort |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use HDNET\Calendarize\Service\CalDav; |
12 | 12 | use HDNET\Calendarize\Utility\HelperUtility; |
13 | 13 | use Sabre\DAV\Auth\Backend\AbstractBasic; |
14 | -use Sabre\DAV\Exception; |
|
15 | 14 | use TYPO3\CMS\Backend\Utility\BackendUtility; |
16 | 15 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
17 | 16 |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * @param string $calendarUri |
137 | 137 | * @param array $properties |
138 | 138 | * |
139 | - * @return mixed |
|
139 | + * @return string |
|
140 | 140 | * @throws Sabre_DAV_Exception |
141 | 141 | */ |
142 | 142 | public function createCalendar($principalUri, $calendarUri, array $properties) |
@@ -491,9 +491,9 @@ discard block |
||
491 | 491 | /** |
492 | 492 | * Update cal event |
493 | 493 | * |
494 | - * @param $calendarId |
|
495 | - * @param $objectUri |
|
496 | - * @param $calendarData |
|
494 | + * @param string $calendarId |
|
495 | + * @param string $objectUri |
|
496 | + * @param string $calendarData |
|
497 | 497 | */ |
498 | 498 | private function updateCalEvent($calendarId, $objectUri, $calendarData) |
499 | 499 | { |
@@ -129,7 +129,7 @@ |
||
129 | 129 | * |
130 | 130 | * @param $principal |
131 | 131 | * |
132 | - * @return array |
|
132 | + * @return string[] |
|
133 | 133 | * @throws Exception |
134 | 134 | */ |
135 | 135 | public function getGroupMemberSet($principal) |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * Add one row to the table |
45 | 45 | * |
46 | 46 | * @param string $label |
47 | - * @param mixed $value |
|
47 | + * @param string $value |
|
48 | 48 | */ |
49 | 49 | public function addRow($label, $value) |
50 | 50 | { |
@@ -74,6 +74,7 @@ |
||
74 | 74 | /** |
75 | 75 | * Get the times |
76 | 76 | * |
77 | + * @param integer $pageUid |
|
77 | 78 | * @return array |
78 | 79 | */ |
79 | 80 | protected function getTimes($pageUid) |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @param string $className |
30 | 30 | * |
31 | - * @return object |
|
31 | + * @return integer |
|
32 | 32 | */ |
33 | 33 | public static function create($className) |
34 | 34 | { |
@@ -87,11 +87,11 @@ |
||
87 | 87 | $originalObject->getKeSearchTags($index), |
88 | 88 | "&tx_calendarize_calendar[index]={$index->getUid()}", |
89 | 89 | $abstract, |
90 | - $index->_getProperty('_languageUid'), // $index always has a "_languageUid" - if the $originalObject does not use translations, it is 0 |
|
90 | + $index->_getProperty('_languageUid'), // $index always has a "_languageUid" - if the $originalObject does not use translations, it is 0 |
|
91 | 91 | $index->_hasProperty('starttime') ? $index->_getProperty('starttime') : 0, |
92 | 92 | $index->_hasProperty('endtime') ? $index->_getProperty('endtime') : 0, |
93 | 93 | $index->_hasProperty('fe_group') ? $index->_getProperty('fe_group') : '', |
94 | - false, // debugOnly |
|
94 | + false, // debugOnly |
|
95 | 95 | $additionalFields |
96 | 96 | ); |
97 | 97 | } |