@@ -132,7 +132,7 @@ |
||
132 | 132 | * @param IUser $user |
133 | 133 | * @param integer $shareType |
134 | 134 | * @param string $shareWith |
135 | - * @return IEntry|null |
|
135 | + * @return null|Entry |
|
136 | 136 | */ |
137 | 137 | public function findOne(IUser $user, $shareType, $shareWith) { |
138 | 138 | switch($shareType) { |
@@ -24,14 +24,12 @@ |
||
24 | 24 | |
25 | 25 | namespace OC\Contacts\ContactsMenu; |
26 | 26 | |
27 | -use OC\Share\Share; |
|
28 | 27 | use OCP\Contacts\ContactsMenu\IEntry; |
29 | 28 | use OCP\Contacts\IManager; |
30 | 29 | use OCP\IConfig; |
31 | 30 | use OCP\IGroupManager; |
32 | 31 | use OCP\IUser; |
33 | 32 | use OCP\IUserManager; |
34 | -use OCP\IUserSession; |
|
35 | 33 | |
36 | 34 | class ContactsStore { |
37 | 35 |