@@ -23,7 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | use OCP\AppFramework\Http; |
| 25 | 25 | use OCA\Calendar\ICalendar; |
| 26 | - |
|
| 27 | 26 | use OCA\Calendar\Db\Permissions; |
| 28 | 27 | use OCA\Calendar\Utility\CalendarUtility; |
| 29 | 28 | |
@@ -29,10 +29,8 @@ |
||
| 29 | 29 | use OCA\Calendar\Db\ObjectType; |
| 30 | 30 | use OCA\Calendar\Db\Permissions; |
| 31 | 31 | use OCa\Calendar\Utility\ObjectUtility; |
| 32 | - |
|
| 33 | 32 | use OCP\ILogger; |
| 34 | 33 | use OCP\Util; |
| 35 | - |
|
| 36 | 34 | use DateTime; |
| 37 | 35 | |
| 38 | 36 | class ObjectManager { |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | use OCA\Calendar\IBackendCollection; |
| 26 | 26 | use OCP\AppFramework\Db\DoesNotExistException; |
| 27 | 27 | use OCP\AppFramework\Db\MultipleObjectsReturnedException; |
| 28 | -use OCP\AppFramework\Http; |
|
| 29 | 28 | use OCA\Calendar\ISubscription; |
| 30 | 29 | use OCA\Calendar\Backend as BackendUtils; |
| 31 | 30 | |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * @param string $tzId |
| 74 | 74 | * @param string $userId |
| 75 | 75 | * @throws Exception |
| 76 | - * @return \OCA\Calendar\ITimezone |
|
| 76 | + * @return \OCA\Calendar\Db\Timezone|null |
|
| 77 | 77 | */ |
| 78 | 78 | public function find($tzId, $userId) { |
| 79 | 79 | try { |
@@ -285,7 +285,7 @@ |
||
| 285 | 285 | |
| 286 | 286 | /** |
| 287 | 287 | * @param string $sql |
| 288 | - * @param array $params |
|
| 288 | + * @param string[] $params |
|
| 289 | 289 | */ |
| 290 | 290 | protected function addBackendQuery(&$sql, array &$params) { |
| 291 | 291 | //TODO remove hack: |
@@ -28,10 +28,8 @@ |
||
| 28 | 28 | use OCA\Calendar\IBackend; |
| 29 | 29 | use OCA\Calendar\IBackendCollection; |
| 30 | 30 | use OCA\Calendar\ICalendar; |
| 31 | - |
|
| 32 | 31 | use OCA\Calendar\Utility\CalendarUtility; |
| 33 | 32 | use OCP\ILogger; |
| 34 | - |
|
| 35 | 33 | use OCP\AppFramework\Db\DoesNotExistException as DoesNotExistMapperException; |
| 36 | 34 | use OCP\AppFramework\Db\MultipleObjectsReturnedException as MultipleObjectsReturnedMapperException; |
| 37 | 35 | |
@@ -28,11 +28,9 @@ |
||
| 28 | 28 | use OCA\Calendar\IBackend; |
| 29 | 29 | use OCA\Calendar\ICalendar; |
| 30 | 30 | use OCA\Calendar\IObject; |
| 31 | - |
|
| 32 | 31 | use OCA\Calendar\Backend\IObjectAPI; |
| 33 | 32 | use OCA\Calendar\Backend as BackendUtils; |
| 34 | 33 | use OCP\ILogger; |
| 35 | - |
|
| 36 | 34 | use OCP\AppFramework\Db\DoesNotExistException as DoesNotExistMapperException; |
| 37 | 35 | use OCP\AppFramework\Db\MultipleObjectsReturnedException as MultipleObjectsReturnedMapperException; |
| 38 | 36 | |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | use OCA\Calendar\Db\CalendarFactory; |
| 27 | 27 | use OCA\Calendar\Http\JSON; |
| 28 | 28 | use OCA\Calendar\ICalendar; |
| 29 | - |
|
| 30 | 29 | use OCP\AppFramework\Http; |
| 31 | 30 | use OCP\AppFramework\Http\JSONResponse; |
| 32 | 31 | use OCP\IRequest; |
@@ -181,7 +181,7 @@ |
||
| 181 | 181 | |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @param $calendarId |
|
| 184 | + * @param integer $calendarId |
|
| 185 | 185 | * @return mixed |
| 186 | 186 | * @throws BusinessLayer\Exception |
| 187 | 187 | */ |
@@ -31,12 +31,10 @@ |
||
| 31 | 31 | use OCA\Calendar\ICalendar; |
| 32 | 32 | use OCA\Calendar\IObject; |
| 33 | 33 | use OCA\Calendar\IObjectCollection; |
| 34 | - |
|
| 35 | 34 | use OCP\AppFramework\Http; |
| 36 | 35 | use OCP\AppFramework\Http\JSONResponse; |
| 37 | 36 | use OCP\IRequest; |
| 38 | 37 | use OCP\IUserSession; |
| 39 | - |
|
| 40 | 38 | use DateTime; |
| 41 | 39 | |
| 42 | 40 | class ObjectController extends Controller { |