Completed
Branch master (6c0d4e)
by Patrick
03:45
created
src/Adapters/Flysystem/Filesystem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      *
179 179
      * @param  string $path    Path to the existing file.
180 180
      * @param  string $newpath The new path of the file.
181
-     * @return bool   True on success, false on failure.
181
+     * @return string|false   True on success, false on failure.
182 182
      */
183 183
     public function rename($path, $newpath)
184 184
     {
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      * Read and delete a file.
274 274
      *
275 275
      * @param  string       $path The path to the file.
276
-     * @return string|false The file contents, or false on failure.
276
+     * @return string The file contents, or false on failure.
277 277
      */
278 278
     public function readAndDelete($path)
279 279
     {
Please login to merge, or discard this patch.
src/Adapters/Flysystem/Component.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function local(string $name, string $path)
66 66
     {
67
-        $this->disk($name, function () use ($path) {
67
+        $this->disk($name, function() use ($path) {
68 68
             return new Local($path);
69 69
         });
70 70
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function ftp(array $settings)
79 79
     {
80
-        $this->disk('ftp', function () use ($settings) {
80
+        $this->disk('ftp', function() use ($settings) {
81 81
             return new Ftp($settings);
82 82
         });
83 83
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function aws(string $bucket, array $settings)
92 92
     {
93
-        $this->disk('ftp', function () use ($bucket, $settings) {
93
+        $this->disk('ftp', function() use ($bucket, $settings) {
94 94
 
95 95
             $client = S3Client::factory($settings);
96 96
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function dropbox(string $accessToken, string $appSecret)
109 109
     {
110
-        $this->disk('dropbox', function () use ($accessToken, $appSecret) {
110
+        $this->disk('dropbox', function() use ($accessToken, $appSecret) {
111 111
             return new DropboxAdapter(
112 112
                 new Client($accessToken, $appSecret)
113 113
             );
Please login to merge, or discard this patch.
src/Providers/FlystemProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function getDefinitions()
40 40
     {
41 41
         return [
42
-            FilesystemInterface::class => function () {
42
+            FilesystemInterface::class => function() {
43 43
 
44 44
                 $manager = new MountManager();
45 45
 
Please login to merge, or discard this patch.