Skip to content

Commit

Permalink
Update src/Gaufrette/Stream/InMemoryBuffer.php
Browse files Browse the repository at this point in the history
Co-authored-by: Kévin <kevinar9@outlook.fr>
  • Loading branch information
PedroTroller and KevinArtus authored Oct 30, 2023
1 parent b797abe commit 3881d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gaufrette/Stream/InMemoryBuffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function eof(): bool
/**
* @return array<string, mixed>|false
*/
public function stat(): array|false
public function stat(): array|bool
{
if ($this->filesystem->has($this->key)) {
$isDirectory = $this->filesystem->isDirectory($this->key);
Expand Down

0 comments on commit 3881d3e

Please sign in to comment.