Completed
Push — master ( 3691e2...a5d74c )
by Patrick
02:26
created
src/Adapters/Flysystem/Component.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * @param  string   $name
56 56
      * @param  callable $resolver
57
-     * @param  array    $params
58 57
      * @return $this
59 58
      */
60 59
     public function disk(string $name, callable $resolver)
@@ -143,7 +142,7 @@  discard block
 block discarded – undo
143 142
     /**
144 143
      * @param  string $name
145 144
      * @param  array  $params
146
-     * @return mixed
145
+     * @return Component
147 146
      */
148 147
     public function __call(string $name, array $params = [])
149 148
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function local(string $name, string $path)
73 73
     {
74
-        $this->disk($name, function () use ($path) {
74
+        $this->disk($name, function() use ($path) {
75 75
             return new Local($path);
76 76
         });
77 77
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function ftp(array $settings)
86 86
     {
87
-        $this->disk('ftp', function () use ($settings) {
87
+        $this->disk('ftp', function() use ($settings) {
88 88
             return new Ftp($settings);
89 89
         });
90 90
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function aws(string $bucket, array $settings)
99 99
     {
100
-        $this->disk('aws', function () use ($bucket, $settings) {
100
+        $this->disk('aws', function() use ($bucket, $settings) {
101 101
 
102 102
             $client = S3Client::factory($settings);
103 103
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function dropbox(string $accessToken, string $appSecret)
116 116
     {
117
-        $this->disk('dropbox', function () use ($accessToken, $appSecret) {
117
+        $this->disk('dropbox', function() use ($accessToken, $appSecret) {
118 118
             return new DropboxAdapter(
119 119
                 new Client($accessToken, $appSecret)
120 120
             );
Please login to merge, or discard this patch.