ReviewOS

also looking at this

meemalabs/meema-client-php

Bump pestphp/pest from 1.19.0 to 1.21.1

#115
Open dependabot[bot] wants to merge dependabot/composer/pestphp/pest-1.21.1 into main
15 files +297 -407
src/Models/Storage.phpmodified+14-26
formatting only · 8 hidden lines
Changes to src/Models/Storage.php
@@ -14,7 +14,7 @@ class Storage formatting only
1414 /**
1515 * Construct storage model.
1616 *
17 * @param Meema\MeemaClient\Client $client
17 * @param Meema\MeemaClient\Client $client
1818 */
1919 public function __construct(Client $client)
2020 {
Changes to src/Models/Storage.php
@@ -24,8 +24,7 @@ class Storage
2424 /**
2525 * Upload a media file.
2626 *
27 * @param string $path
28 *
27 * @param string $path
2928 * @return array
3029 */
3130 public function upload($path, $contents = null, $config = [])
@@ -36,9 +35,8 @@ class Storage
3635 /**
3736 * Set the visibility for a file.
3837 *
39 * @param string $path
40 * @param string $visibility
41 *
38 * @param string $path
39 * @param string $visibility
4240 * @return array|false file meta data
4341 */
4442 public function setVisibility($path, $visibility)
@@ -49,8 +47,7 @@ class Storage
4947 /**
5048 * Check whether a file exists.
5149 *
52 * @param string $path
53 *
50 * @param string $path
5451 * @return bool
5552 */
5653 public function has($path)
@@ -63,8 +60,7 @@ class Storage
6360 /**
6461 * Get all the meta data of a file or directory.
6562 *
66 * @param string $path
67 *
63 * @param string $path
6864 * @return false|array
6965 */
7066 public function getMetadata($path)
@@ -75,8 +71,7 @@ class Storage
7571 /**
7672 * Destroy the file in storage.
7773 *
78 * @param string $path
79 *
74 * @param string $path
8075 * @return array
8176 */
8277 public function delete($path)
@@ -87,8 +82,7 @@ class Storage
8782 /**
8883 * Copy the file in storage.
8984 *
90 * @param string $path
91 *
85 * @param string $path
9286 * @return array
9387 */
9488 public function copy($path, $newpath)
@@ -99,8 +93,7 @@ class Storage
9993 /**
10094 * Read a file in storage.
10195 *
102 * @param string $path
103 *
96 * @param string $path
10497 * @return array
10598 */
10699 public function read($path)
@@ -111,8 +104,7 @@ class Storage
111104 /**
112105 * Read the stream of a file in storage.
113106 *
114 * @param string $path
115 *
107 * @param string $path
116108 * @return array
117109 */
118110 public function readStream($path)
@@ -123,8 +115,7 @@ class Storage
123115 /**
124116 * List contents of directory.
125117 *
126 * @param string $path
127 *
118 * @param string $path
128119 * @return array
129120 */
130121 public function listContents($directory, $recursive = false)
@@ -135,8 +126,7 @@ class Storage
135126 /**
136127 * Rename the file in storage.
137128 *
138 * @param string $path
139 *
129 * @param string $path
140130 * @return array
141131 */
142132 public function rename($path, $newpath)
@@ -147,8 +137,7 @@ class Storage
147137 /**
148138 * Destroy the directory in storage.
149139 *
150 * @param string $directory
151 *
140 * @param string $directory
152141 * @return array
153142 */
154143 public function deleteDirectory($directory)
@@ -159,8 +148,7 @@ class Storage
159148 /**
160149 * Create a directory in storage.
161150 *
162 * @param string $directory
163 *
151 * @param string $directory
164152 * @return array
165153 */
166154 public function makeDirectory($directory)