mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
修正一些存在的警告错误
This commit is contained in:
@@ -37,7 +37,7 @@ class Socket
|
||||
* @param array $config 缓存参数
|
||||
* @access public
|
||||
*/
|
||||
public function __construct($config = [])
|
||||
public function __construct(array $config = [])
|
||||
{
|
||||
if (!empty($config)) {
|
||||
$this->config = array_merge($this->config, $config);
|
||||
@@ -48,7 +48,7 @@ class Socket
|
||||
}
|
||||
}
|
||||
|
||||
public function save($logs = [])
|
||||
public function save(array $logs = [])
|
||||
{
|
||||
if (!$this->check()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user