@@ -879,7 +879,7 @@ |
||
879 | 879 | /** |
880 | 880 | * get database row of a give share |
881 | 881 | * |
882 | - * @param $id |
|
882 | + * @param integer $id |
|
883 | 883 | * |
884 | 884 | * @return array |
885 | 885 | * @throws ShareNotFound |
@@ -173,11 +173,11 @@ discard block |
||
173 | 173 | |
174 | 174 | $data = $exists->fetch(); |
175 | 175 | $exists->closeCursor(); |
176 | - $this->misc->log('______ ' . var_export($data, true)); |
|
176 | + $this->misc->log('______ '.var_export($data, true)); |
|
177 | 177 | |
178 | - $this->misc->log('______ ' . $qb->getSQL()); |
|
178 | + $this->misc->log('______ '.$qb->getSQL()); |
|
179 | 179 | $this->misc->log( |
180 | - '______ ' . \OCP\Share::SHARE_TYPE_CIRCLE . ' ' . $share->getSharedWith() . ' ' |
|
180 | + '______ '.\OCP\Share::SHARE_TYPE_CIRCLE.' '.$share->getSharedWith().' ' |
|
181 | 181 | . |
182 | 182 | $share->getNode() |
183 | 183 | ->getId()); |
@@ -689,7 +689,7 @@ discard block |
||
689 | 689 | ) |
690 | 690 | ->leftJoin( |
691 | 691 | 's', 'share', 's2', $qb->expr() |
692 | - ->eq('s.id', 's2.parent') . ' AND ' . $qb->expr() |
|
692 | + ->eq('s.id', 's2.parent').' AND '.$qb->expr() |
|
693 | 693 | ->eq( |
694 | 694 | 's2.share_with', |
695 | 695 | $qb->createNamedParameter( |
@@ -239,7 +239,7 @@ |
||
239 | 239 | * @throws CircleAlreadyExistsException |
240 | 240 | * @throws CircleCreationException |
241 | 241 | */ |
242 | - public function create(Circle &$circle, Member &$owner) { |
|
242 | + public function create(Circle & $circle, Member & $owner) { |
|
243 | 243 | |
244 | 244 | if ($circle->getType() === Circle::CIRCLES_PERSONAL) { |
245 | 245 |
@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * returns if this type of circle is allowed by the current configuration. |
70 | 70 | * |
71 | - * @param $type |
|
71 | + * @param integer $type |
|
72 | 72 | * |
73 | 73 | * @return int |
74 | 74 | */ |
@@ -165,7 +165,7 @@ |
||
165 | 165 | /** |
166 | 166 | * Invite a Member to a private Circle, or accept his request. |
167 | 167 | * |
168 | - * @param $member |
|
168 | + * @param null|Member $member |
|
169 | 169 | */ |
170 | 170 | private function inviteMemberToPrivateCircle(&$member) { |
171 | 171 | if ($member->getStatus() === Member::STATUS_REQUEST) { |