Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refacto: type filesystem and filesystem interface #710

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

KevinArtus
Copy link
Contributor

No description provided.

@KevinArtus KevinArtus force-pushed the refacto/type-filesystem branch 2 times, most recently from 1a4e105 to 4efd05c Compare October 30, 2023 14:56
* @throws \InvalidArgumentException If $key is invalid
*/
public function createStream($key);
public function createStream(string $key): Stream|Stream\InMemoryBuffer;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stream\InMemoryBuffer is a Stream.

@@ -228,7 +223,7 @@ public function size($key)
/**
* {@inheritdoc}
*/
public function createStream($key)
public function createStream(string $key): Stream|Stream\InMemoryBuffer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@muchafm muchafm self-requested a review October 30, 2023 15:11
@PedroTroller PedroTroller merged commit 0bbbb18 into v0.12.0 Feb 26, 2024
30 of 32 checks passed
@PedroTroller PedroTroller deleted the refacto/type-filesystem branch February 26, 2024 12:17
PedroTroller added a commit that referenced this pull request Feb 26, 2024
* refacto: type filesystem and filesystem interface

* fix review

* fix return type createStream

* refactor: fix php-cs-fixer error

---------

Co-authored-by: PedroTroller <[email protected]>
@PedroTroller PedroTroller self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants