Passed
Push — master ( 8b7076...2c25c6 )
by Raffael
04:17
created
src/app/Balloon.App.Office/Api/v1/Document.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Balloon\Filesystem\Node\Collection;
21 21
 use Balloon\Filesystem\Node\File;
22 22
 use Balloon\Server;
23
-use Balloon\Server\User;
24 23
 use Micro\Http\Response;
25 24
 
26 25
 class Document extends Controller
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/app/Balloon.App.Preview/Hook.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace Balloon\App\Preview;
14 14
 
15
-use Balloon\Exception;
16 15
 use Balloon\Filesystem\Node\File;
17 16
 use Balloon\Hook\AbstractHook;
18 17
 use MongoDB\GridFS\Exception\FileNotFoundException;
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/File.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
      * @param string $path
695 695
      * @param bool   $new
696 696
      *
697
-     * @return bool
697
+     * @return string
698 698
      */
699 699
     protected function verifyFile(?string $path, bool $new = false): string
700 700
     {
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Finalize put request.
829 829
      *
830
-     * @param resource|string $file
830
+     * @param string|null $file
831 831
      * @param bool            $new
832 832
      * @param array           $attributes
833 833
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Balloon\Filesystem\Storage;
19 19
 use Balloon\Hook;
20 20
 use Balloon\Mime;
21
-use Balloon\Server\User;
22 21
 use MongoDB\BSON\UTCDateTime;
23 22
 use Psr\Log\LoggerInterface;
24 23
 use Sabre\DAV\IFile;
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/NodeInterface.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,14 +108,13 @@
 block discarded – undo
108 108
      *
109 109
      * @param bool $reference
110 110
      *
111
-     * @return ObjectId
111
+     * @return ObjectId|null
112 112
      */
113 113
     public function getShareId(bool $reference = false): ?ObjectId;
114 114
 
115 115
     /**
116 116
      * Get share node.
117 117
      *
118
-     * @param bool $reference
119 118
      *
120 119
      * @return Collection
121 120
      */
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/AttributeDecorator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @param Server    $server
62 62
      * @param Acl       $acl
63
-     * @param Decorator $role_decorator
63
+     * @param RoleAttributeDecorator $role_decorator
64 64
      */
65 65
     public function __construct(Server $server, Acl $acl, RoleAttributeDecorator $role_decorator)
66 66
     {
Please login to merge, or discard this patch.