@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * Set a value in the cache if it's not already stored |
| 156 | 156 | * |
| 157 | 157 | * @param string $key |
| 158 | - * @param mixed $value |
|
| 158 | + * @param integer $value |
|
| 159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 160 | 160 | * @return bool |
| 161 | 161 | * @throws \Exception |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * Set a value in the cache if it's not already stored |
| 156 | 156 | * |
| 157 | 157 | * @param string $key |
| 158 | - * @param mixed $value |
|
| 158 | + * @param integer $value |
|
| 159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 160 | 160 | * @return bool |
| 161 | 161 | * @throws \Exception |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * Set a value in the cache if it's not already stored |
| 156 | 156 | * |
| 157 | 157 | * @param string $key |
| 158 | - * @param mixed $value |
|
| 158 | + * @param integer $value |
|
| 159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 160 | 160 | * @return bool |
| 161 | 161 | * @throws \Exception |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * RemoveOldCalendarShares constructor. |
| 39 | 39 | * |
| 40 | - * @param IDBConnection $db |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct(IDBConnection $connection) { |
| 43 | 42 | $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 { |
@@ -303,6 +303,7 @@ |
||
| 303 | 303 | * get default share folder |
| 304 | 304 | * |
| 305 | 305 | * @param \OC\Files\View |
| 306 | + * @param View $view |
|
| 306 | 307 | * @return string |
| 307 | 308 | */ |
| 308 | 309 | public static function getShareFolder($view = null) { |