modify plugin name
This commit is contained in:
@@ -65,15 +65,14 @@ class Pool extends Component
|
||||
public function check($name): array
|
||||
{
|
||||
$channel = $this->channel($name);
|
||||
var_dump($channel->length());
|
||||
if ($channel->length() < 1) {
|
||||
return [0, 0];
|
||||
}
|
||||
|
||||
$count = $success = 0;
|
||||
$success = 0;
|
||||
$lists = [];
|
||||
$count = $channel->length();
|
||||
while (($pdo = $channel->pop()) instanceof PDO) {
|
||||
$count += 1;
|
||||
if ($pdo->check()) {
|
||||
$success += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user