Completed
Push — master ( 13f20e...8fa960 )
by Jacob
03:27
created
src/Domain/Blog/Post/MysqlPostRepository.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     protected $connections;
12 12
 
13 13
     /**
14
-     * @param Aura\Sql\ConnectionLocator $connections
14
+     * @param ConnectionLocator $connections
15 15
      */
16 16
     public function __construct(ConnectionLocator $connections)
17 17
     {
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
             ->fetchOne($query, $bindings);
42 42
     }
43 43
 
44
+    /**
45
+     * @param integer $limit
46
+     */
44 47
     public function getActivePosts($limit = null, $offset = 0)
45 48
     {
46 49
         $query = "
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
             ->fetchValue($query, $bindings);
80 83
     }
81 84
 
85
+    /**
86
+     * @param integer $limit
87
+     */
82 88
     public function getActivePostsByTag($tag, $limit = null, $offset = 0)
83 89
     {
84 90
         $query = "
@@ -122,6 +128,9 @@  discard block
 block discarded – undo
122 128
             ->fetchValue($query, $bindings);
123 129
     }
124 130
 
131
+    /**
132
+     * @param integer $limit
133
+     */
125 134
     public function getActivePostsByCategory($category, $limit = null, $offset = 0)
126 135
     {
127 136
         $query = "
Please login to merge, or discard this patch.