mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
some extra type checks
This commit is contained in:
parent
bd77a24550
commit
782e09ec62
8 changed files with 24 additions and 13 deletions
|
|
@ -42,8 +42,8 @@ class WrapperHandler {
|
|||
/**
|
||||
* @param resource|int $source
|
||||
* @param resource|array $context
|
||||
* @param null $protocol deprecated, protocol is now automatically generated
|
||||
* @param null $class deprecated, class is now automatically generated
|
||||
* @param string|null $protocol deprecated, protocol is now automatically generated
|
||||
* @param string|null $class deprecated, class is now automatically generated
|
||||
* @return bool|resource
|
||||
*/
|
||||
protected static function wrapSource($source, $context = [], $protocol = null, $class = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue