Completed
Push — master ( 72ee7f...4775c0 )
by Jacob
03:43
created
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/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.
src/Domain/Waterfall/Companion/CompanionRepositoryInterface.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\Companion;
4 4
 
5
-interface CompanionRepositoryInterface
6
-{
5
+interface CompanionRepositoryInterface
6
+{
7 7
     public function getCompanionList();
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Blog/Series/MysqlSeriesRepository.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 MysqlSeriesRepository implements SeriesRepositoryInterface
8
-{
7
+class MysqlSeriesRepository implements SeriesRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,8 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array|false
25 24
      */
26
-    public function getSeriesForPost($post)
27
-    {
25
+    public function getSeriesForPost($post) {
28 26
         $query = "
29 27
             SELECT `series`.`title` AS `series_title`, `series`.`description` AS `series_description`,
30 28
                    `post`.`id` AS `post`, `post`.`title`, `post`.`category`, `post`.`path`
Please login to merge, or discard this patch.
src/Domain/Blog/Series/SeriesRepositoryInterface.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\Blog\Series;
4 4
 
5
-interface SeriesRepositoryInterface
6
-{
5
+interface SeriesRepositoryInterface
6
+{
7 7
     public function getSeriesForPost($post);
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Blog/Tag/MysqlTagRepository.php 1 patch
Braces   +7 added lines, -12 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 MysqlTagRepository implements TagRepositoryInterface
8
-{
7
+class MysqlTagRepository implements TagRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,8 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
@@ -23,8 +22,7 @@  discard block
 block discarded – undo
23 22
      *
24 23
      * @return array|false
25 24
      */
26
-    public function findTagByTitle($title)
27
-    {
25
+    public function findTagByTitle($title) {
28 26
         $query = "
29 27
             SELECT *
30 28
             FROM `jpemeric_blog`.`tag`
@@ -40,8 +38,7 @@  discard block
 block discarded – undo
40 38
             ->fetchOne($query, $bindings);
41 39
     }
42 40
 
43
-    public function getAllTags()
44
-    {
41
+    public function getAllTags() {
45 42
         $query = "
46 43
             SELECT *
47 44
             FROM `jpemeric_blog`.`tag`
@@ -53,8 +50,7 @@  discard block
 block discarded – undo
53 50
             ->fetchAll($query);
54 51
     }
55 52
 
56
-    public function getTagCloud()
57
-    {
53
+    public function getTagCloud() {
58 54
         $query = "
59 55
             SELECT COUNT(1) AS `count`, `tag`
60 56
             FROM `jpemeric_blog`.`tag`
@@ -72,8 +68,7 @@  discard block
 block discarded – undo
72 68
             ->fetchAll($query, $bindings);
73 69
     }
74 70
 
75
-    public function getTagsForPost($post)
76
-    {
71
+    public function getTagsForPost($post) {
77 72
         $query = "
78 73
             SELECT `tag`.*
79 74
             FROM `jpemeric_blog`.`tag`
Please login to merge, or discard this patch.
src/Domain/Blog/Tag/TagRepositoryInterface.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\Blog\Tag;
4 4
 
5
-interface TagRepositoryInterface
6
-{
5
+interface TagRepositoryInterface
6
+{
7 7
     public function findTagByTitle($title);
8 8
     public function getAllTags();
9 9
     public function getTagCloud();
Please login to merge, or discard this patch.
src/Domain/Blog/Introduction/MysqlIntroductionRepository.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 MysqlIntroductionRepository implements IntroductionRepositoryInterface
8
-{
7
+class MysqlIntroductionRepository implements IntroductionRepositoryInterface
8
+{
9 9
 
10 10
     /** @var  Aura\Sql\ConnectionLocator */
11 11
     protected $connections;
@@ -13,8 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @param Aura\Sql\ConnectionLocator
15 15
      */
16
-    public function __construct(ConnectionLocator $connections)
17
-    {
16
+    public function __construct(ConnectionLocator $connections) {
18 17
         $this->connections = $connections;
19 18
     }
20 19
 
@@ -24,8 +23,7 @@  discard block
 block discarded – undo
24 23
      *
25 24
      * @return array|false
26 25
      */
27
-    public function findByType($type, $value = '')
28
-    {
26
+    public function findByType($type, $value = '') {
29 27
         $query = "
30 28
             SELECT `title`, `content`, `image`
31 29
             FROM `jpemeric_blog`.`introduction`
Please login to merge, or discard this patch.
src/Domain/Blog/Introduction/IntroductionRepositoryInterface.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\Blog\Introduction;
4 4
 
5
-interface IntroductionRepositoryInterface
6
-{
5
+interface IntroductionRepositoryInterface
6
+{
7 7
     public function findByType($type, $value = '');
8 8
 }
Please login to merge, or discard this patch.