Completed
Branch dev (09647c)
by Raffael
11:14
created
src/app/Balloon.App.ClamAv/Scanner.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,6 @@
 block discarded – undo
79 79
     /**
80 80
      * Constructor.
81 81
      *
82
-     * @param Database        $db
83 82
      * @param LoggerInterface $logger
84 83
      */
85 84
     public function __construct(SocketFactory $factory, LoggerInterface $logger, ?Iterable $config = null)
Please login to merge, or discard this patch.
src/app/Balloon.App.Convert/Job.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Constructor.
47 47
      *
48
-     * @param Async $async
49 48
      */
50 49
     public function __construct(Converter $converter, Server $server, LoggerInterface $logger)
51 50
     {
@@ -57,8 +56,6 @@  discard block
 block discarded – undo
57 56
     /**
58 57
      * Start job.
59 58
      *
60
-     * @param Server          $server
61
-     * @param LoggerInterface $logger
62 59
      *
63 60
      * @return bool
64 61
      */
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      * @param ObjectId $session_id
149 149
      * @param string   $access_token
150 150
      *
151
-     * @return Session
151
+     * @return Session|null
152 152
      */
153 153
     public static function getByAccessToken(Server $server, ObjectId $session_id, string $access_token): self
154 154
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Preview/Job.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
     /**
36 36
      * Constructor.
37 37
      *
38
-     * @param App    $app
39 38
      * @param Server $server
40 39
      */
41 40
     public function __construct(PreviewCreator $preview, Server $server)
Please login to merge, or discard this patch.
src/app/Balloon.App.Preview/PreviewCreator.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,6 @@
 block discarded – undo
31 31
     /**
32 32
      * Constructor.
33 33
      *
34
-     * @param Router $router
35
-     * @param Hook   $hook
36 34
      */
37 35
     public function __construct(Database $db, LoggerInterface $logger, Converter $converter)
38 36
     {
Please login to merge, or discard this patch.
src/lib/Converter/Result.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
      * Create result.
33 33
      *
34 34
      * @param string     $path
35
-     * @param resource   $stream
36
-     * @param null|mixed $resource
35
+     * @param resource $resource
37 36
      */
38 37
     public function __construct(string $path, $resource = null)
39 38
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Storage/Adapter/AdapterInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
     /**
30 30
      * Delete file.
31 31
      *
32
-     * @param string $id
33 32
      * @param array  $attributes
34 33
      *
35 34
      * @return bool
Please login to merge, or discard this patch.
src/lib/Server.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,6 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Filesystem factory.
175 175
      *
176
+     * @param User $user
176 177
      * @return Filesystem
177 178
      */
178 179
     public function getFilesystem(?User $user = null): Filesystem
@@ -376,7 +377,7 @@  discard block
 block discarded – undo
376 377
      *
377 378
      * @param string $id
378 379
      *
379
-     * @return User
380
+     * @return Group
380 381
      */
381 382
     public function getGroupById(ObjectId $id): Group
382 383
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
 
485 485
         $this->identity = $user;
486 486
         $user->updateIdentity($identity)
487
-             ->updateShares();
487
+                ->updateShares();
488 488
         $this->hook->run('postServerIdentity', [$user]);
489 489
 
490 490
         return true;
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
     public function getGroupByName(string $name): Group
573 573
     {
574 574
         $attributes = $this->db->group->findOne([
575
-           'name' => $name,
575
+            'name' => $name,
576 576
         ]);
577 577
 
578 578
         if (null === $attributes) {
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
     public function getGroupById(ObjectId $id): Group
593 593
     {
594 594
         $attributes = $this->db->group->findOne([
595
-           '_id' => $id,
595
+            '_id' => $id,
596 596
         ]);
597 597
 
598 598
         if (null === $attributes) {
Please login to merge, or discard this patch.
src/lib/Hook/Delta.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -424,8 +424,8 @@
 block discarded – undo
424 424
         ];
425 425
 
426 426
         $node->getFilesystem()->getDatabase()->delta->updateMany([
427
-             'node' => [
428
-                 '$in' => $toset,
427
+                'node' => [
428
+                    '$in' => $toset,
429 429
             ],
430 430
         ], $action);
431 431
 
Please login to merge, or discard this patch.