Passed
Pull Request — master (#123)
by
unknown
07:53 queued 02:59
created
Classes/Domain/Model/Metadata.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@  discard block
 block discarded – undo
24 24
  *
25 25
  * @access public
26 26
  */
27
-class Metadata extends AbstractEntity
28
-{
27
+class Metadata extends AbstractEntity {
29 28
     /**
30 29
      * @access protected
31 30
      * @var Metadata
@@ -128,14 +127,12 @@  discard block
 block discarded – undo
128 127
     /**
129 128
      * constructor
130 129
      */
131
-    public function __construct()
132
-    {
130
+    public function __construct() {
133 131
         // Do not remove the next line: It would break the functionality
134 132
         $this->initStorageObjects();
135 133
     }
136 134
 
137
-    protected function initStorageObjects()
138
-    {
135
+    protected function initStorageObjects() {
139 136
         $this->format = new ObjectStorage();
140 137
     }
141 138
 
@@ -206,8 +203,7 @@  discard block
 block discarded – undo
206 203
     /**
207 204
      * @return ObjectStorage<MetadataFormat> $format
208 205
      */
209
-    public function getFormat()
210
-    {
206
+    public function getFormat() {
211 207
         return $this->format;
212 208
     }
213 209
 
@@ -226,8 +222,7 @@  discard block
 block discarded – undo
226 222
      *
227 223
      * @return void
228 224
      */
229
-    public function addFormat(MetadataFormat $format)
230
-    {
225
+    public function addFormat(MetadataFormat $format) {
231 226
         $this->format->attach($format);
232 227
     }
233 228
 
@@ -238,8 +233,7 @@  discard block
 block discarded – undo
238 233
      *
239 234
      * @return void
240 235
      */
241
-    public function removeFormat(MetadataFormat $formatToRemove)
242
-    {
236
+    public function removeFormat(MetadataFormat $formatToRemove) {
243 237
         $this->format->detach($formatToRemove);
244 238
     }
245 239
 
Please login to merge, or discard this patch.
Classes/Domain/Model/Format.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
  *
29 29
  * @access public
30 30
  */
31
-class Format extends AbstractEntity
32
-{
31
+class Format extends AbstractEntity {
33 32
     /**
34 33
      * @access protected
35 34
      * @var string Name of the type that is used to reference it.
Please login to merge, or discard this patch.
Classes/Domain/Model/Printer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @access public
24 24
  */
25
-class Printer extends AbstractEntity
26
-{
25
+class Printer extends AbstractEntity {
27 26
     /**
28 27
      * @access protected
29 28
      * @var string
Please login to merge, or discard this patch.
Classes/Domain/Model/Token.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @access public
24 24
  */
25
-class Token extends AbstractEntity
26
-{
25
+class Token extends AbstractEntity {
27 26
     /**
28 27
      * @access protected
29 28
      * @var string The resumption token string.
Please login to merge, or discard this patch.
Classes/Domain/Model/Basket.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @access public
24 24
  */
25
-class Basket extends AbstractEntity
26
-{
25
+class Basket extends AbstractEntity {
27 26
     /**
28 27
      * @access protected
29 28
      * @var string|null
Please login to merge, or discard this patch.
Classes/Domain/Model/Library.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@
 block discarded – undo
30 30
  *
31 31
  * @access public
32 32
  */
33
-class Library extends AbstractEntity
34
-{
33
+class Library extends AbstractEntity {
35 34
     /**
36 35
      * @access protected
37 36
      * @var string
Please login to merge, or discard this patch.
Classes/Domain/Model/PageSelectForm.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @access public
24 24
  */
25
-class PageSelectForm extends AbstractEntity
26
-{
25
+class PageSelectForm extends AbstractEntity {
27 26
     /**
28 27
      * @access protected
29 28
      * @var integer
Please login to merge, or discard this patch.
Classes/Domain/Model/MetadataFormat.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
  *
29 29
  * @access public
30 30
  */
31
-class MetadataFormat extends AbstractEntity
32
-{
31
+class MetadataFormat extends AbstractEntity {
33 32
     /**
34 33
      * @access protected
35 34
      * @var int UID of the ``tx_dlf_metadata`` that is encoded by this metadata entry.
Please login to merge, or discard this patch.
Classes/Domain/Model/ActionLog.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @access public
24 24
  */
25
-class ActionLog extends AbstractEntity
26
-{
25
+class ActionLog extends AbstractEntity {
27 26
     /**
28 27
      * @access protected
29 28
      * @var int
Please login to merge, or discard this patch.