This commit is contained in:
2020-12-15 14:04:02 +08:00
parent c2d9250be9
commit a37df0ce7a
16 changed files with 225 additions and 162 deletions
+2 -8
View File
@@ -10,6 +10,7 @@ namespace Database;
use Database\Base\AbstractCollection;
use Exception;
use JetBrains\PhpStorm\Pure;
/**
* Class Collection
@@ -18,18 +19,11 @@ use Exception;
*/
class Collection extends AbstractCollection
{
/**
* @return int
*/
public function getLength()
{
return count($this->_item);
}
/**
* @return array
*/
public function getItems()
public function getItems(): array
{
// TODO: Change the autogenerated stub
return $this->_item;