@@ -29,8 +29,9 @@ |
||
29 | 29 | class CircleCreationException extends \Exception { |
30 | 30 | |
31 | 31 | public function __construct($message = "", $code = 0, \Exception $previous = null) { |
32 | - if ($message === '') |
|
33 | - $message = 'Unknown exception during Circle Creation'; |
|
32 | + if ($message === '') { |
|
33 | + $message = 'Unknown exception during Circle Creation'; |
|
34 | + } |
|
34 | 35 | |
35 | 36 | parent::__construct($message, $code, $previous); |
36 | 37 | } |
@@ -29,8 +29,9 @@ |
||
29 | 29 | class MemberIsOwnerException extends \Exception { |
30 | 30 | |
31 | 31 | public function __construct($message = "", $code = 0, \Exception $previous = null) { |
32 | - if ($message === '') |
|
33 | - $message = 'This member is the owner of the circle'; |
|
32 | + if ($message === '') { |
|
33 | + $message = 'This member is the owner of the circle'; |
|
34 | + } |
|
34 | 35 | |
35 | 36 | parent::__construct($message, $code, $previous); |
36 | 37 | } |
@@ -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( |