Skip to content

Commit fd44c5b

Browse files
committed
minor fix to case
1 parent 7e2e61c commit fd44c5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FileCreaturesRepository.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Timongo\Creatures;
44

55
use League\Flysystem\File;
6-
use League\Flysystem\FileSystem;
6+
use League\Flysystem\Filesystem;
77
use League\Flysystem\Adapter\Local;
88

99
class FileCreaturesRepository {
@@ -16,7 +16,7 @@ public function __construct($path = null)
1616
{
1717
$this->path = $path ?: realpath(__DIR__ . '/../data');
1818

19-
$this->filesystem = new FileSystem( new Local($this->path) );
19+
$this->filesystem = new Filesystem( new Local($this->path) );
2020
}
2121

2222
public function read($file)
@@ -60,7 +60,7 @@ public function checkImages()
6060
{
6161
$imagesPath = realpath(__DIR__ . '/../img');
6262

63-
$imageFileSystem = new FileSystem( new Local($imagesPath) );
63+
$imageFileSystem = new Filesystem( new Local($imagesPath) );
6464

6565
foreach($this->fetchAll() as $creature) {
6666
if (! $imageFileSystem->has($creature->image)) {

0 commit comments

Comments
 (0)