@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @return MySql |
|
35 | + * @return StorageInterface |
|
36 | 36 | */ |
37 | 37 | protected function getStorage() |
38 | 38 | { |
@@ -175,6 +175,9 @@ |
||
175 | 175 | ); |
176 | 176 | } |
177 | 177 | |
178 | + /** |
|
179 | + * @param integer $limit |
|
180 | + */ |
|
178 | 181 | public function findAllBy(array $conditions = array(), $limit = null, $offset = 0) |
179 | 182 | { |
180 | 183 | $sql = sprintf('SELECT * FROM %s', $this->getTableName()); |
@@ -6,11 +6,11 @@ |
||
6 | 6 | { |
7 | 7 | public function persist($entity) |
8 | 8 | { |
9 | - throw new \Exception('Method ' . __METHOD__ . ' was not implemented'); |
|
9 | + throw new \Exception('Method '.__METHOD__.' was not implemented'); |
|
10 | 10 | } |
11 | 11 | |
12 | 12 | public function remove($entity) |
13 | 13 | { |
14 | - throw new \Exception('Method ' . __METHOD__ . ' was not implemented'); |
|
14 | + throw new \Exception('Method '.__METHOD__.' was not implemented'); |
|
15 | 15 | } |
16 | 16 | } |