@@ -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 |
@@ -686,7 +686,7 @@ |
||
| 686 | 686 | ) |
| 687 | 687 | ->leftJoin( |
| 688 | 688 | 's', 'share', 's2', $qb->expr() |
| 689 | - ->eq('s.id', 's2.parent') . ' AND ' . $qb->expr() |
|
| 689 | + ->eq('s.id', 's2.parent').' AND '.$qb->expr() |
|
| 690 | 690 | ->eq( |
| 691 | 691 | 's2.share_with', |
| 692 | 692 | $qb->createNamedParameter( |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * @param string $field |
| 145 | 145 | * @param int $circleId |
| 146 | 146 | */ |
| 147 | - private function buildWithCircleId(IQueryBuilder &$qb, string $field, int $circleId) { |
|
| 147 | + private function buildWithCircleId(IQueryBuilder & $qb, string $field, int $circleId) { |
|
| 148 | 148 | if ($circleId > 0) { |
| 149 | 149 | $qb->andWhere( |
| 150 | 150 | $qb->expr() |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param string $field |
| 160 | 160 | * @param int $level |
| 161 | 161 | */ |
| 162 | - private function buildWithMemberLevel(IQueryBuilder &$qb, string $field, int $level) { |
|
| 162 | + private function buildWithMemberLevel(IQueryBuilder & $qb, string $field, int $level) { |
|
| 163 | 163 | if ($level > 0) { |
| 164 | 164 | $qb->andWhere( |
| 165 | 165 | $qb->expr() |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | * @throws CircleCreationException |
| 313 | 313 | * @throws ConfigNoCircleAvailable |
| 314 | 314 | */ |
| 315 | - public function create(Circle &$circle, Member &$owner) { |
|
| 315 | + public function create(Circle & $circle, Member & $owner) { |
|
| 316 | 316 | |
| 317 | 317 | if (!$this->isCircleUnique($circle, $owner)) { |
| 318 | 318 | throw new CircleAlreadyExistsException(); |