mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-05 14:23:36 +00:00
Remove pointless array cast.
This commit is contained in:
parent
5e77183afe
commit
eac6d7850f
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ class ModelTask extends BakeTask {
|
|||
* @return array
|
||||
*/
|
||||
public function listAll($useDbConfig = null) {
|
||||
$this->_tables = (array)$this->getAllTables($useDbConfig);
|
||||
$this->_tables = $this->getAllTables($useDbConfig);
|
||||
|
||||
$this->_modelNames = array();
|
||||
$count = count($this->_tables);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue