@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Mark a property as relation so it will not get updated using Mapper::update |
| 33 | - * @param $property string Name of the property |
|
| 33 | + * @param string $property string Name of the property |
|
| 34 | 34 | */ |
| 35 | 35 | public function addRelation($property) { |
| 36 | 36 | if (!in_array($property, $this->_relations)) { |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * Mark a property as resolvable via resolveRelation() |
| 43 | - * @param $property string Name of the property |
|
| 43 | + * @param string $property string Name of the property |
|
| 44 | 44 | */ |
| 45 | 45 | public function addResolvable($property) { |
| 46 | 46 | $this->_resolvedProperties[$property] = null; |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use OCP\AppFramework\App; |
| 29 | 29 | use OCA\Deck\Middleware\SharingMiddleware; |
| 30 | 30 | use OCP\IGroup; |
| 31 | -use OCP\IGroupManager; |
|
| 32 | 31 | use OCP\IUser; |
| 33 | 32 | use OCP\IUserManager; |
| 34 | 33 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace OCA\Deck\Service; |
| 25 | 25 | |
| 26 | -use OCA\Deck\ArchivedItemException; |
|
| 27 | 26 | use OCA\Deck\Db\Acl; |
| 28 | 27 | use OCA\Deck\Db\AclMapper; |
| 29 | 28 | use OCA\Deck\Db\IPermissionMapper; |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @param $id |
| 57 | 57 | * @param bool $withLabels |
| 58 | 58 | * @param bool $withAcl |
| 59 | - * @return \OCP\AppFramework\Db\Entity if not found |
|
| 59 | + * @return Board if not found |
|
| 60 | 60 | */ |
| 61 | 61 | public function find($id, $withLabels = false, $withAcl = false) { |
| 62 | 62 | $sql = 'SELECT id, title, owner, color, archived, deleted_at FROM `*PREFIX*deck_boards` ' . |