aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:49:15 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:49:15 +0100
commit29328c692bf1943b22ceac67ae6cbcea56ff7852 (patch)
treee698eb50d6c2e5c42a63064fbad7152ee8220219
parent5c0f02f6541c808493230d8c58f6ca6d80256e55 (diff)
downloadStream-29328c692bf1943b22ceac67ae6cbcea56ff7852.zip
Stream-29328c692bf1943b22ceac67ae6cbcea56ff7852.tar.gz
Stream-29328c692bf1943b22ceac67ae6cbcea56ff7852.tar.bz2
chore(php) Fix `_open` signature.
-rw-r--r--Source/Stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Stream.php b/Source/Stream.php
index 6b073ce..dc9f4f3 100644
--- a/Source/Stream.php
+++ b/Source/Stream.php
@@ -208,7 +208,7 @@ abstract class Stream implements IStream\Stream, Event\Listenable
* Note: This method is protected, but do not forget that it could be
* overloaded into a public context.
*/
- abstract protected function &_open(string $streamName, ?Context $context);
+ abstract protected function &_open(string $streamName, Context $context = null);
/**
* Close the current stream.