composer update
This commit is contained in:
9
vendor/guzzlehttp/psr7/src/FnStream.php
vendored
9
vendor/guzzlehttp/psr7/src/FnStream.php
vendored
@@ -52,6 +52,15 @@ class FnStream implements StreamInterface
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An unserialize would allow the __destruct to run when the unserialized value goes out of scope.
|
||||
* @throws \LogicException
|
||||
*/
|
||||
public function __wakeup()
|
||||
{
|
||||
throw new \LogicException('FnStream should never be unserialized');
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds custom functionality to an underlying stream by intercepting
|
||||
* specific method calls.
|
||||
|
||||
Reference in New Issue
Block a user