Permalink
Browse files

Remove pointless array cast.

  • Loading branch information...
1 parent 5e77183 commit eac6d7850f2a4d40b0e143d55c73f5ecbfda4da9 @markstory markstory committed Nov 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/Task/ModelTask.php
@@ -861,7 +861,7 @@ public function bakeTest($className) {
* @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);

0 comments on commit eac6d78

Please sign in to comment.