改名
This commit is contained in:
@@ -35,8 +35,8 @@ abstract class Pool extends Component
|
|||||||
if (isset($this->_items[$name]) && $this->_items[$name] instanceof Channel) {
|
if (isset($this->_items[$name]) && $this->_items[$name] instanceof Channel) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->_items[$name] = new Channel($max);
|
$this->_items[$name] = new Channel((int)$max);
|
||||||
$this->max = $max;
|
$this->max = (int)$max;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user