Completed
Push — master ( 4775c0...e1a3eb )
by Jacob
03:33
created
src/Domain/Comment/Comment/CommentRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Comment\Comment;
4 4
 
5
-interface CommentRepositoryInterface
6
-{
5
+interface CommentRepositoryInterface
6
+{
7 7
     public function createComment(array $comment);
8 8
     public function getComment($commentId);
9 9
     public function getComments($domain = null, $path = null, $page = null, $perPage = null, $order = null);
Please login to merge, or discard this patch.
src/Domain/Comment/Commenter/CommenterRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Comment\Commenter;
4 4
 
5
-interface CommenterRepositoryInterface
6
-{
5
+interface CommenterRepositoryInterface
6
+{
7 7
     public function createCommenter(array $commenter);
8 8
     public function getCommenter($commenterId);
9 9
     public function getCommenters($page = null, $perPage = null);
Please login to merge, or discard this patch.
src/Domain/Waterfall/County/CountyRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Waterfall\County;
4 4
 
5
-interface CountyRepositoryInterface
6
-{
5
+interface CountyRepositoryInterface
6
+{
7 7
     public function getCountyList();
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Waterfall/County/MysqlCountyRepository.php 1 patch
Braces   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Aura\Sql\ConnectionLocator;
6 6
 
7
-class MysqlCountyRepository implements CountyRepositoryInterface
8
-{
7
+class MysqlCountyRepository implements CountyRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,13 +13,11 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator $connections
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
21
-    public function getCountyList()
22
-    {
20
+    public function getCountyList() {
23 21
         $query = "
24 22
             SELECT `county`.`name`, `county`.`alias`, COUNT(1) AS `count`
25 23
             FROM `jpemeric_waterfall`.`county`
Please login to merge, or discard this patch.
src/Domain/Waterfall/Period/MysqlPeriodRepository.php 1 patch
Braces   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Aura\Sql\ConnectionLocator;
6 6
 
7
-class MysqlPeriodRepository implements PeriodRepositoryInterface
8
-{
7
+class MysqlPeriodRepository implements PeriodRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,13 +13,11 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator $connections
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
21
-    public function getPeriodList()
22
-    {
20
+    public function getPeriodList() {
23 21
         $query = "
24 22
             SELECT `period`.`name`, `period`.`alias`, COUNT(1) AS `count`
25 23
             FROM `jpemeric_waterfall`.`period`
Please login to merge, or discard this patch.
src/Domain/Waterfall/Period/PeriodRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Waterfall\Period;
4 4
 
5
-interface PeriodRepositoryInterface
6
-{
5
+interface PeriodRepositoryInterface
6
+{
7 7
     public function getPeriodList();
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Waterfall/Waterfall/MysqlWaterfallRepository.php 1 patch
Braces   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Aura\Sql\ConnectionLocator;
6 6
 
7
-class MysqlWaterfallRepository implements WaterfallRepositoryInterface
8
-{
7
+class MysqlWaterfallRepository implements WaterfallRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,13 +13,11 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator $connections
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
21
-    public function getWaterfalls($limit = null, $offset = 0)
22
-    {
20
+    public function getWaterfalls($limit = null, $offset = 0) {
23 21
         $query = "
24 22
             SELECT `waterfall`.`id`, `waterfall`.`name`, `waterfall`.`alias`,
25 23
                    `watercourse`.`name` AS `watercourse`, `watercourse`.`alias` AS `watercourse_alias`
Please login to merge, or discard this patch.
src/Domain/Waterfall/Waterfall/WaterfallRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Waterfall\Waterfall;
4 4
 
5
-interface WaterfallRepositoryInterface
6
-{
5
+interface WaterfallRepositoryInterface
6
+{
7 7
     public function getWaterfalls($limit = null, $offset= 0);
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Waterfall/Watercourse/WatercourseRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Waterfall\Watercourse;
4 4
 
5
-interface WatercourseRepositoryInterface
6
-{
5
+interface WatercourseRepositoryInterface
6
+{
7 7
     public function getWatercourseList();
8 8
 }
Please login to merge, or discard this patch.