Completed
Push — master ( 75bb5a...dea818 )
by Mathieu
07:39
created
src/Charcoal/Cms/Block/ContentBlock.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 class ContentBlock extends AbstractBlock
8 8
 {
9 9
     /**
10
-    * @return string
11
-    */
10
+     * @return string
11
+     */
12 12
     public function block_type()
13 13
     {
14 14
         return AbstractBlock::TYPE_CONTENT;
Please login to merge, or discard this patch.
src/Charcoal/Cms/TemplateInterface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -5,34 +5,34 @@
 block discarded – undo
5 5
 interface TemplateInterface
6 6
 {
7 7
     /**
8
-    * @param string $ident
9
-    * @return TemplateInterface Chainable
10
-    */
8
+     * @param string $ident
9
+     * @return TemplateInterface Chainable
10
+     */
11 11
     public function set_ident($ident);
12 12
 
13 13
     /**
14
-    * @return string
15
-    */
14
+     * @return string
15
+     */
16 16
     public function ident();
17 17
 
18 18
     /**
19
-    * @param mixed $title
20
-    * @return TemplateInterface Chainable
21
-    */
19
+     * @param mixed $title
20
+     * @return TemplateInterface Chainable
21
+     */
22 22
     public function set_title($title);
23 23
     /**
24
-    * @return TranslationString
25
-    */
24
+     * @return TranslationString
25
+     */
26 26
     public function title();
27 27
 
28 28
     /**
29
-    * @param array $options
30
-    * @return TemplateInterface Chainable
31
-    */
29
+     * @param array $options
30
+     * @return TemplateInterface Chainable
31
+     */
32 32
     public function set_options($options);
33 33
 
34 34
     /**
35
-    * @return array
36
-    */
35
+     * @return array
36
+     */
37 37
     public function options();
38 38
 }
Please login to merge, or discard this patch.
src/Charcoal/Cms/Section/BlocksSection.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,23 +11,23 @@
 block discarded – undo
11 11
 class BlocksSection extends AbstractSection
12 12
 {
13 13
     /**
14
-    * @param Collection $blocks
15
-    */
14
+     * @param Collection $blocks
15
+     */
16 16
     private $blocks;
17 17
 
18 18
     /**
19
-    * Overrides `AbstractSection::section_type()`
20
-    *
21
-    * @return string
22
-    */
19
+     * Overrides `AbstractSection::section_type()`
20
+     *
21
+     * @return string
22
+     */
23 23
     public function section_type()
24 24
     {
25 25
         return AbstractSection::TYPE_BLOCKS;
26 26
     }
27 27
 
28 28
     /**
29
-    * @return Collection List of `Block` objects
30
-    */
29
+     * @return Collection List of `Block` objects
30
+     */
31 31
     public function blocks()
32 32
     {
33 33
         if ($this->blocks === null) {
Please login to merge, or discard this patch.
src/Charcoal/Cms/SectionInterface.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -8,57 +8,57 @@
 block discarded – undo
8 8
 interface SectionInterface
9 9
 {
10 10
     /**
11
-    * @param string $section_type
12
-    * @return SectionInterface Chainable
13
-    */
11
+     * @param string $section_type
12
+     * @return SectionInterface Chainable
13
+     */
14 14
     public function set_section_type($section_type);
15 15
 
16 16
     /**
17
-    * @return string
18
-    */
17
+     * @return string
18
+     */
19 19
     public function section_type();
20 20
 
21 21
     /**
22
-    * @param mixed $title
23
-    * @return SectionInterface Chainable
24
-    */
22
+     * @param mixed $title
23
+     * @return SectionInterface Chainable
24
+     */
25 25
     public function set_title($title);
26 26
 
27 27
     /**
28
-    * @return TranslationString
29
-    */
28
+     * @return TranslationString
29
+     */
30 30
     public function title();
31 31
 
32 32
     /**
33
-    * @param mixed $subtitle
34
-    * @return SectionInterface Chainable
35
-    */
33
+     * @param mixed $subtitle
34
+     * @return SectionInterface Chainable
35
+     */
36 36
     public function set_subtitle($subtitle);
37 37
 
38 38
     /**
39
-    * @return TranslationString
40
-    */
39
+     * @return TranslationString
40
+     */
41 41
     public function subtitle();
42 42
 
43 43
     /**
44
-    * @param mixed $template
45
-    * @return SectionInterface Chainable
46
-    */
44
+     * @param mixed $template
45
+     * @return SectionInterface Chainable
46
+     */
47 47
     public function set_template($template);
48 48
 
49 49
     /**
50
-    * @return mixed
51
-    */
50
+     * @return mixed
51
+     */
52 52
     public function template();
53 53
 
54 54
     /**
55
-    * @param array $template_options
56
-    * @return SectionInterface Chainable
57
-    */
55
+     * @param array $template_options
56
+     * @return SectionInterface Chainable
57
+     */
58 58
     public function set_template_options(array $template_options);
59 59
 
60 60
     /**
61
-    * @return array
62
-    */
61
+     * @return array
62
+     */
63 63
     public function template_options();
64 64
 }
Please login to merge, or discard this patch.
src/Charcoal/Cms/NewsCategory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,18 +12,18 @@
 block discarded – undo
12 12
     use CategoryTrait;
13 13
 
14 14
     /**
15
-    * CategoryTrait > item_type()
16
-    *
17
-    * @return string
18
-    */
15
+     * CategoryTrait > item_type()
16
+     *
17
+     * @return string
18
+     */
19 19
     public function item_type()
20 20
     {
21 21
         return 'charcoal/cms/news';
22 22
     }
23 23
 
24 24
     /**
25
-    * @return Collection
26
-    */
25
+     * @return Collection
26
+     */
27 27
     public function load_items()
28 28
     {
29 29
         return [];
Please login to merge, or discard this patch.
src/Charcoal/Cms/MetatagTrait.php 1 patch
Indentation   +60 added lines, -60 removed lines patch added patch discarded remove patch
@@ -10,35 +10,35 @@  discard block
 block discarded – undo
10 10
 trait MetatagTrait
11 11
 {
12 12
     /**
13
-    * @var TranslationString $metaTitle
14
-    */
13
+     * @var TranslationString $metaTitle
14
+     */
15 15
     private $metaTitle;
16 16
     /**
17
-    * @var TranslationString $metaDescription
18
-    */
17
+     * @var TranslationString $metaDescription
18
+     */
19 19
     private $metaDescription;
20 20
     /**
21
-    * @var TranslationString $metaImage
22
-    */
21
+     * @var TranslationString $metaImage
22
+     */
23 23
     private $metaImage;
24 24
     /**
25
-    * @var TranslationString $metaAuthor
26
-    */
25
+     * @var TranslationString $metaAuthor
26
+     */
27 27
     private $metaAuthor;
28 28
 
29 29
     /**
30
-    * @var string $facebookAppId
31
-    */
30
+     * @var string $facebookAppId
31
+     */
32 32
     private $facebookAppId;
33 33
 
34 34
     /**
35
-    * @var TranslationString $opengraphTitle
36
-    */
35
+     * @var TranslationString $opengraphTitle
36
+     */
37 37
     private $opengraphTitle;
38 38
 
39 39
     /**
40
-    * @var TranslationString $siteName
41
-    */
40
+     * @var TranslationString $siteName
41
+     */
42 42
     private $opengraphSiteName;
43 43
     private $opengraphDescription;
44 44
     private $opengraphType;
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
 
49 49
 
50 50
     /**
51
-    * @return string
52
-    */
51
+     * @return string
52
+     */
53 53
     abstract public function canonicalUrl();
54 54
 
55 55
     /**
56
-    * @param mixed $title
57
-    * @return MetatagInterface Chainable
58
-    */
56
+     * @param mixed $title
57
+     * @return MetatagInterface Chainable
58
+     */
59 59
     public function setMetaTitle($title)
60 60
     {
61 61
         $this->metaTitle = new TranslationString($title);
@@ -63,17 +63,17 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-    * @return TranslationString
67
-    */
66
+     * @return TranslationString
67
+     */
68 68
     public function metaTitle()
69 69
     {
70 70
         return $this->metaTitle();
71 71
     }
72 72
 
73 73
     /**
74
-    * @param mixed $description
75
-    * @return MetatagInterface Chainable
76
-    */
74
+     * @param mixed $description
75
+     * @return MetatagInterface Chainable
76
+     */
77 77
     public function setMetaDescription($description)
78 78
     {
79 79
         $this->metaDescription = new TranslationString($description);
@@ -81,17 +81,17 @@  discard block
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-    * @return TranslationString
85
-    */
84
+     * @return TranslationString
85
+     */
86 86
     public function metaDescription()
87 87
     {
88 88
         return $this->metaDescription();
89 89
     }
90 90
 
91 91
     /**
92
-    * @param mixed $image
93
-    * @return MetatagInterface Chainable
94
-    */
92
+     * @param mixed $image
93
+     * @return MetatagInterface Chainable
94
+     */
95 95
     public function setMetaImage($image)
96 96
     {
97 97
         $this->metaImage = new TranslationString($image);
@@ -99,17 +99,17 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-    * @return TranslationString
103
-    */
102
+     * @return TranslationString
103
+     */
104 104
     public function metaImage()
105 105
     {
106 106
         return $this->metaImage();
107 107
     }
108 108
 
109 109
     /**
110
-    * @param mixed $author
111
-    * @return MetatagInterface Chainable
112
-    */
110
+     * @param mixed $author
111
+     * @return MetatagInterface Chainable
112
+     */
113 113
     public function setMetaAuthor($author)
114 114
     {
115 115
         $this->metaAuthor = new TranslationString($author);
@@ -117,16 +117,16 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-    * @return TranslationString
121
-    */
120
+     * @return TranslationString
121
+     */
122 122
     public function metaAuthor()
123 123
     {
124 124
         return $this->metaAuthor();
125 125
     }
126 126
 
127 127
     /**
128
-    * @return string
129
-    */
128
+     * @return string
129
+     */
130 130
     public function metaTags()
131 131
     {
132 132
         $tags = '';
@@ -134,9 +134,9 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-    * @param string $appId The facebook App ID (numeric string)
138
-    * @return MetatagInterface Chainable
139
-    */
137
+     * @param string $appId The facebook App ID (numeric string)
138
+     * @return MetatagInterface Chainable
139
+     */
140 140
     public function setFacebookAppId($appId)
141 141
     {
142 142
         $this->facebookAppId = $appId;
@@ -144,17 +144,17 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-    * @return string
148
-    */
147
+     * @return string
148
+     */
149 149
     public function facebookAppId()
150 150
     {
151 151
         return $this->facebookAppId;
152 152
     }
153 153
 
154 154
     /**
155
-    * @param mixed $title
156
-    * @return MetatagInterface Chainable
157
-    */
155
+     * @param mixed $title
156
+     * @return MetatagInterface Chainable
157
+     */
158 158
     public function setOpengraphTitle($title)
159 159
     {
160 160
         $this->opengraphTitle = new TranslationString($title);
@@ -162,17 +162,17 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-    * @return TranslationString
166
-    */
165
+     * @return TranslationString
166
+     */
167 167
     public function opengraphTitle()
168 168
     {
169 169
         return $this->opengraphTitle;
170 170
     }
171 171
 
172 172
     /**
173
-    * @param mixed $siteName
174
-    * @return MetatagInterface Chainable
175
-    */
173
+     * @param mixed $siteName
174
+     * @return MetatagInterface Chainable
175
+     */
176 176
     public function setOpengraphSiteName($siteName)
177 177
     {
178 178
         $this->opengraphSiteName = new TranslationString($siteName);
@@ -180,25 +180,25 @@  discard block
 block discarded – undo
180 180
     }
181 181
 
182 182
     /**
183
-    * @return TranslationString
184
-    */
183
+     * @return TranslationString
184
+     */
185 185
     public function opengraphSiteName()
186 186
     {
187 187
         return $this->opengraphSiteName;
188 188
     }
189 189
 
190 190
     /**
191
-    * @param mixed $description
192
-    * @return MetatagInterface Chainable
193
-    */
191
+     * @param mixed $description
192
+     * @return MetatagInterface Chainable
193
+     */
194 194
     public function setOpengraphDescription($description)
195 195
     {
196 196
         $this->opengraphDescription = new TranslationString($description);
197 197
     }
198 198
 
199 199
     /**
200
-    * @return TranslationString
201
-    */
200
+     * @return TranslationString
201
+     */
202 202
     public function opengraphDescription()
203 203
     {
204 204
         return $this->opengraphDescription;
@@ -249,8 +249,8 @@  discard block
 block discarded – undo
249 249
     }
250 250
 
251 251
     /**
252
-    * @return string
253
-    */
252
+     * @return string
253
+     */
254 254
     public function opengraphTags()
255 255
     {
256 256
         return '';
Please login to merge, or discard this patch.
src/Charcoal/Cms/EventCategory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,18 +12,18 @@
 block discarded – undo
12 12
     use CategoryTrait;
13 13
 
14 14
     /**
15
-    * CategoryTrait > item_type()
16
-    *
17
-    * @return string
18
-    */
15
+     * CategoryTrait > item_type()
16
+     *
17
+     * @return string
18
+     */
19 19
     public function item_type()
20 20
     {
21 21
         return 'charcoal/cms/news';
22 22
     }
23 23
 
24 24
     /**
25
-    * @return Collection
26
-    */
25
+     * @return Collection
26
+     */
27 27
     public function load_items()
28 28
     {
29 29
         return [];
Please login to merge, or discard this patch.
src/Charcoal/Cms/MetatagInterface.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -8,96 +8,96 @@  discard block
 block discarded – undo
8 8
 interface MetatagInterface
9 9
 {
10 10
     /**
11
-    * @return string
12
-    */
11
+     * @return string
12
+     */
13 13
     public function canonicalUrl();
14 14
 
15 15
     /**
16
-    * @param mixed $title
17
-    * @return MetatagInterface Chainable
18
-    */
16
+     * @param mixed $title
17
+     * @return MetatagInterface Chainable
18
+     */
19 19
     public function setMetaTitle($title);
20 20
 
21 21
     /**
22
-    * @return TranslationString
23
-    */
22
+     * @return TranslationString
23
+     */
24 24
     public function metaTitle();
25 25
 
26 26
     /**
27
-    * @param mixed $description
28
-    * @return MetatagInterface Chainable
29
-    */
27
+     * @param mixed $description
28
+     * @return MetatagInterface Chainable
29
+     */
30 30
     public function setMetaDescription($description);
31 31
 
32 32
     /**
33
-    * @return TranslationString
34
-    */
33
+     * @return TranslationString
34
+     */
35 35
     public function metaDescription();
36 36
 
37 37
     /**
38
-    * @param mixed $image
39
-    * @return MetatageInterface Chainable
40
-    */
38
+     * @param mixed $image
39
+     * @return MetatageInterface Chainable
40
+     */
41 41
     public function setMetaImage($image);
42 42
 
43 43
     /**
44
-    * @return TranslationString
45
-    */
44
+     * @return TranslationString
45
+     */
46 46
     public function metaImage();
47 47
 
48 48
     /**
49
-    * @param mixed $author
50
-    * @return MetatagInterface Chainable
51
-    */
49
+     * @param mixed $author
50
+     * @return MetatagInterface Chainable
51
+     */
52 52
     public function setMetaAuthor($author);
53 53
 
54 54
     /**
55
-    * @return TranslationString
56
-    */
55
+     * @return TranslationString
56
+     */
57 57
     public function metaAuthor();
58 58
 
59 59
     /**
60
-    * @return string
61
-    */
60
+     * @return string
61
+     */
62 62
     public function metaTags();
63 63
 
64 64
     /**
65
-    * @param string $appId The facebook App ID (numeric string)
66
-    * @return MetatagInterface Chainable
67
-    */
65
+     * @param string $appId The facebook App ID (numeric string)
66
+     * @return MetatagInterface Chainable
67
+     */
68 68
     public function setFacebookAppId($appId);
69 69
 
70 70
     /**
71
-    * @return string
72
-    */
71
+     * @return string
72
+     */
73 73
     public function facebookAppId();
74 74
 
75 75
     /**
76
-    * @param mixed $title
77
-    * @return MetatagInterface Chainable
78
-    */
76
+     * @param mixed $title
77
+     * @return MetatagInterface Chainable
78
+     */
79 79
     public function setOpengraphTitle($title);
80 80
 
81 81
     /**
82
-    * @return TranslationString
83
-    */
82
+     * @return TranslationString
83
+     */
84 84
     public function opengraphTitle();
85 85
 
86 86
     /**
87
-    * @param mixed $siteName
88
-    * @return MetatagInterface Chainable
89
-    */
87
+     * @param mixed $siteName
88
+     * @return MetatagInterface Chainable
89
+     */
90 90
     public function setOpengraphSiteName($siteName);
91 91
 
92 92
     /**
93
-    * @return TranslationString
94
-    */
93
+     * @return TranslationString
94
+     */
95 95
     public function opengraphSiteName();
96 96
 
97 97
     /**
98
-    * @param mixed $description
99
-    * @return MetatagInterface Chainable
100
-    */
98
+     * @param mixed $description
99
+     * @return MetatagInterface Chainable
100
+     */
101 101
     public function setOpengraphDescription($description);
102 102
     public function opengraphDescription();
103 103
     public function setOpengraphType($type);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     public function opengraphPublisher();
111 111
 
112 112
     /**
113
-    * @return string
114
-    */
113
+     * @return string
114
+     */
115 115
     public function opengraphTags();
116 116
 }
Please login to merge, or discard this patch.
src/Charcoal/Cms/FaqCategory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,18 +12,18 @@
 block discarded – undo
12 12
     use CategoryTrait;
13 13
 
14 14
     /**
15
-    * CategoryTrait > item_type()
16
-    *
17
-    * @return string
18
-    */
15
+     * CategoryTrait > item_type()
16
+     *
17
+     * @return string
18
+     */
19 19
     public function item_type()
20 20
     {
21 21
         return 'charcoal/cms/news';
22 22
     }
23 23
 
24 24
     /**
25
-    * @return Collection
26
-    */
25
+     * @return Collection
26
+     */
27 27
     public function load_items()
28 28
     {
29 29
         return [];
Please login to merge, or discard this patch.