This commit is contained in:
2023-01-30 11:03:58 +08:00
parent b7229f32f8
commit a9472ff0a3
+2 -2
View File
@@ -226,9 +226,9 @@ class Pool extends Component
/**
* @param string $name
* @return mixed
* @return int
*/
public function size(string $name): mixed
public function size(string $name): int
{
if (!isset(static::$_connections[$name])) {
return 0;