mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 03:37:44 +08:00
Removed type hint from UnCompressInterface
.
This commit is contained in:
parent
ccd7d8b6fe
commit
db5a7488ee
@ -13,5 +13,5 @@ namespace Hyperf\Contract;
|
||||
|
||||
interface UnCompressInterface
|
||||
{
|
||||
public function uncompress(): CompressInterface;
|
||||
public function uncompress();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ class ModelMeta implements UnCompressInterface
|
||||
$this->key = $key;
|
||||
}
|
||||
|
||||
public function uncompress(): CompressInterface
|
||||
public function uncompress()
|
||||
{
|
||||
if (is_null($this->key)) {
|
||||
return new $this->class();
|
||||
|
Loading…
Reference in New Issue
Block a user