@@ -213,7 +213,7 @@ |
||
| 213 | 213 | * |
| 214 | 214 | * @param \Google_Service_Drive_DriveFile |
| 215 | 215 | * |
| 216 | - * @return true if the file is a Google Doc file, false otherwise |
|
| 216 | + * @return boolean if the file is a Google Doc file, false otherwise |
|
| 217 | 217 | */ |
| 218 | 218 | private function isGoogleDocFile($file) { |
| 219 | 219 | return $this->getGoogleDocExtension($file->getMimeType()) !== ''; |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * RemoveOldCalendarShares constructor. |
| 22 | 22 | * |
| 23 | - * @param IDBConnection $db |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct(IDBConnection $connection) { |
| 26 | 25 | $this->connection = $connection; |
@@ -26,7 +26,6 @@ discard block |
||
| 26 | 26 | use OCA\DAV\CalDAV\CalDavBackend; |
| 27 | 27 | use OCA\DAV\CardDAV\CardDavBackend; |
| 28 | 28 | use OCA\DAV\CardDAV\ContactsManager; |
| 29 | -use OCA\DAV\CardDAV\SyncJob; |
|
| 30 | 29 | use OCA\DAV\CardDAV\SyncService; |
| 31 | 30 | use OCA\DAV\Connector\Sabre\Principal; |
| 32 | 31 | use OCA\DAV\DAV\GroupPrincipalBackend; |
@@ -36,8 +35,6 @@ discard block |
||
| 36 | 35 | use \OCP\AppFramework\App; |
| 37 | 36 | use OCP\AppFramework\IAppContainer; |
| 38 | 37 | use OCP\Contacts\IManager; |
| 39 | -use OCP\IUser; |
|
| 40 | -use Sabre\VObject\Reader; |
|
| 41 | 38 | use Symfony\Component\EventDispatcher\GenericEvent; |
| 42 | 39 | |
| 43 | 40 | class Application extends App { |
@@ -278,6 +278,7 @@ |
||
| 278 | 278 | * get default share folder |
| 279 | 279 | * |
| 280 | 280 | * @param \OC\Files\View |
| 281 | + * @param View $view |
|
| 281 | 282 | * @return string |
| 282 | 283 | */ |
| 283 | 284 | public static function getShareFolder($view = null) { |