Skip to content

Commit

Permalink
Updating ORM
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdearaujo committed Feb 23, 2018
1 parent 6f9a38e commit 8fa1497
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Silk/Model/AbstractMappableModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Silk\Model;

use Collections\ArrayList;
use Collections\Vector;
use PhpDocReader\Reader;
use Silk\Database\TableGateway;
use Silk\Exceptions\NoDataFoundException;
Expand Down Expand Up @@ -218,7 +218,7 @@ public function save($callBeforeSave = true)
* e em seguida popular ele e adicioná-lo na lista de dados.
*
* @param $where
* @return ArrayList
* @return Vector
* @throws NoDataFoundException
*/
public static function select($where)
Expand All @@ -229,7 +229,7 @@ public static function select($where)
if($resultSet->count() === 0)
throw new NoDataFoundException();

$list = new ArrayList();
$list = new Vector();

foreach($resultSet->toArray() as $array)
{
Expand Down Expand Up @@ -311,4 +311,4 @@ private static function getInstance()
$object = new $name;
return $object;
}
}
}

0 comments on commit 8fa1497

Please sign in to comment.