aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:56:57 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:56:57 +0100
commit1d804f5539ca4c7c990773ae96c881ccf6f4691c (patch)
treede3250b5bc724ae982d1dccef011d6f2ba596bb5
parent29328c692bf1943b22ceac67ae6cbcea56ff7852 (diff)
downloadStream-1d804f5539ca4c7c990773ae96c881ccf6f4691c.zip
Stream-1d804f5539ca4c7c990773ae96c881ccf6f4691c.tar.gz
Stream-1d804f5539ca4c7c990773ae96c881ccf6f4691c.tar.bz2
chore(php) Add type.
-rw-r--r--Source/IStream/Bufferable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/IStream/Bufferable.php b/Source/IStream/Bufferable.php
index ab6881b..b036381 100644
--- a/Source/IStream/Bufferable.php
+++ b/Source/IStream/Bufferable.php
@@ -51,7 +51,7 @@ interface Bufferable extends Stream
* Start a new buffer.
* The callable acts like a light filter.
*/
- public function newBuffer($callable = null, int $size = null): int;
+ public function newBuffer(callable $callable = null, int $size = null): int;
/**
* Flush the buffer.