Completed
Pull Request — master (#1)
by Marcelo
09:09
created
src/RepositoryAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @return MySql
35
+     * @return StorageInterface
36 36
      */
37 37
     protected function getStorage()
38 38
     {
Please login to merge, or discard this patch.
src/Storage/Pdo/AbstractStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -175,6 +175,9 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/Repository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.