@@ -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 | { |
@@ -16,6 +16,9 @@ |
||
| 16 | 16 | protected $properties; |
| 17 | 17 | protected $values; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $properties |
|
| 21 | + */ |
|
| 19 | 22 | function __construct($values, $properties) |
| 20 | 23 | { |
| 21 | 24 | $this->properties = $properties; |
@@ -13,30 +13,30 @@ |
||
| 13 | 13 | class ICalExDate |
| 14 | 14 | { |
| 15 | 15 | |
| 16 | - protected $properties; |
|
| 17 | - protected $values; |
|
| 18 | - |
|
| 19 | - function __construct($values, $properties) |
|
| 20 | - { |
|
| 21 | - $this->properties = $properties; |
|
| 22 | - $this->values = $values; |
|
| 23 | - } |
|
| 24 | - |
|
| 25 | - /** |
|
| 26 | - * @return mixed |
|
| 27 | - */ |
|
| 28 | - public function getProperties() |
|
| 29 | - { |
|
| 30 | - return $this->properties; |
|
| 31 | - } |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @return mixed |
|
| 35 | - */ |
|
| 36 | - public function getValues() |
|
| 37 | - { |
|
| 38 | - return $this->values; |
|
| 39 | - } |
|
| 16 | + protected $properties; |
|
| 17 | + protected $values; |
|
| 18 | + |
|
| 19 | + function __construct($values, $properties) |
|
| 20 | + { |
|
| 21 | + $this->properties = $properties; |
|
| 22 | + $this->values = $values; |
|
| 23 | + } |
|
| 24 | + |
|
| 25 | + /** |
|
| 26 | + * @return mixed |
|
| 27 | + */ |
|
| 28 | + public function getProperties() |
|
| 29 | + { |
|
| 30 | + return $this->properties; |
|
| 31 | + } |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @return mixed |
|
| 35 | + */ |
|
| 36 | + public function getValues() |
|
| 37 | + { |
|
| 38 | + return $this->values; |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | 41 | |
| 42 | 42 | |