Skip to content

Commit ab5d0de

Browse files
committed
🔥 Removed ray calls
1 parent c4ee4e7 commit ab5d0de

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

‎src/FlysystemCloudinaryAdapter.php

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public function __construct(
3131
*/
3232
public function write($path, $contents, Config $config): array | false
3333
{
34-
ray('adapter write');
35-
3634
return $this->upload($path, $contents);
3735
}
3836

@@ -41,8 +39,6 @@ public function write($path, $contents, Config $config): array | false
4139
*/
4240
public function writeStream($path, $resource, Config $config): array | false
4341
{
44-
ray('adapter writeStream');
45-
4642
return $this->upload($path, $resource);
4743
}
4844

@@ -51,8 +47,6 @@ public function writeStream($path, $resource, Config $config): array | false
5147
*/
5248
public function update($path, $contents, Config $config): array | false
5349
{
54-
ray('adapter upload');
55-
5650
return $this->upload($path, $contents);
5751
}
5852

@@ -61,8 +55,6 @@ public function update($path, $contents, Config $config): array | false
6155
*/
6256
public function updateStream($path, $resource, Config $config): array | false
6357
{
64-
ray('adapter updateStream');
65-
6658
return $this->upload($path, $resource);
6759
}
6860

@@ -122,8 +114,6 @@ protected function upload(string $path, $body): array | false
122114
*/
123115
public function rename($path, $newpath): bool
124116
{
125-
ray('adapter rename');
126-
127117
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
128118

129119
$newpath = $this->ensureFolderIsPrefixed(trim($newpath, '/'));
@@ -151,8 +141,6 @@ public function rename($path, $newpath): bool
151141
*/
152142
public function copy($path, $newpath): bool
153143
{
154-
ray('adapter copy');
155-
156144
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
157145

158146
$newpath = $this->ensureFolderIsPrefixed(trim($newpath, '/'));
@@ -179,8 +167,6 @@ public function copy($path, $newpath): bool
179167
*/
180168
public function delete($path): bool
181169
{
182-
ray('adapter delete');
183-
184170
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
185171

186172
$response = $this
@@ -204,8 +190,6 @@ public function delete($path): bool
204190
*/
205191
public function deleteDir($dirname): bool
206192
{
207-
ray('adapter deleteDir');
208-
209193
$dirname = $this->ensureFolderIsPrefixed(trim($dirname, '/'));
210194

211195
$files = $this->listContents($dirname);
@@ -233,8 +217,6 @@ public function deleteDir($dirname): bool
233217
*/
234218
public function createDir($dirname, Config $config): array | false
235219
{
236-
ray('adapter createDir');
237-
238220
$dirname = $this->ensureFolderIsPrefixed(trim($dirname, '/'));
239221

240222
try {
@@ -261,8 +243,6 @@ public function createDir($dirname, Config $config): array | false
261243
*/
262244
public function has($path): array | bool | null
263245
{
264-
ray('adapter has');
265-
266246
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
267247

268248
$options = [
@@ -288,8 +268,6 @@ public function has($path): array | bool | null
288268
*/
289269
public function read($path): array | false
290270
{
291-
ray('adapter read');
292-
293271
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
294272

295273
$meta = $this->readObject($path);
@@ -306,8 +284,6 @@ public function read($path): array | false
306284
*/
307285
public function readStream($path): array | false
308286
{
309-
ray('adapter readStream');
310-
311287
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
312288

313289
$meta = $this->readObject($path);
@@ -372,8 +348,6 @@ protected function readObject(string $path): array | bool
372348
*/
373349
public function listContents($directory = '', $recursive = false): array
374350
{
375-
ray('adapter listContents');
376-
377351
$directory = $this->ensureFolderIsPrefixed(trim($directory, '/'));
378352

379353
$options = [
@@ -402,8 +376,6 @@ public function listContents($directory = '', $recursive = false): array
402376
*/
403377
public function getMetadata($path): array | false
404378
{
405-
ray('adapter getMetadata');
406-
407379
$meta = $this->readObject($path);
408380

409381
if ($meta === false) {
@@ -418,8 +390,6 @@ public function getMetadata($path): array | false
418390
*/
419391
public function getSize($path): array | false
420392
{
421-
ray('adapter getSize');
422-
423393
return $this->getMetadata($path);
424394
}
425395

@@ -428,8 +398,6 @@ public function getSize($path): array | false
428398
*/
429399
public function getMimetype($path): array | false
430400
{
431-
ray('adapter getMimetype');
432-
433401
return $this->getMetadata($path);
434402
}
435403

@@ -438,15 +406,11 @@ public function getMimetype($path): array | false
438406
*/
439407
public function getTimestamp($path): array | false
440408
{
441-
ray('adapter getTimestamp');
442-
443409
return $this->getMetadata($path);
444410
}
445411

446412
public function getUrl(string $path): string | false
447413
{
448-
ray('adapter getUrl');
449-
450414
$path = $this->ensureFolderIsPrefixed(trim($path, '/'));
451415

452416
$options = [

0 commit comments

Comments
 (0)