@@ -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 | { |
@@ -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) |
@@ -5,7 +5,6 @@ |
||
5 | 5 | |
6 | 6 | namespace HDNET\Calendarize\UserFunction; |
7 | 7 | |
8 | -use TYPO3\CMS\Backend\Form\Element\AbstractFormElement; |
|
9 | 8 | use TYPO3\CMS\Backend\Utility\BackendUtility; |
10 | 9 | use TYPO3\CMS\Core\Imaging\Icon; |
11 | 10 | use TYPO3\CMS\Core\Imaging\IconFactory; |
@@ -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 | { |