This commit is contained in:
2022-07-10 00:15:37 +08:00
parent e54ac1ed39
commit 983722d22f
2 changed files with 1 additions and 51 deletions
+1 -2
View File
@@ -58,7 +58,7 @@ class Redis extends Component
* @throws ConfigException
* @throws Exception
*/
public function init()
public function init(): void
{
$config = $this->get_config();
@@ -78,7 +78,6 @@ class Redis extends Component
*/
public function __call($name, $arguments): mixed
{
$time = microtime(true);
if (method_exists($this, $name)) {
$data = $this->{$name}(...$arguments);
} else {