@@ -25,8 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @access public |
27 | 27 | */ |
28 | -class MailRepository extends Repository |
|
29 | -{ |
|
28 | +class MailRepository extends Repository { |
|
30 | 29 | |
31 | 30 | /** |
32 | 31 | * Find all mails by pid. |
@@ -37,8 +36,7 @@ discard block |
||
37 | 36 | * |
38 | 37 | * @return array|QueryResultInterface |
39 | 38 | */ |
40 | - public function findAllWithPid(int $pid) |
|
41 | - { |
|
39 | + public function findAllWithPid(int $pid) { |
|
42 | 40 | /** @var Typo3QuerySettings $querySettings */ |
43 | 41 | $querySettings = GeneralUtility::makeInstance(Typo3QuerySettings::class); |
44 | 42 |
@@ -22,7 +22,6 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class BasketRepository extends Repository |
|
26 | -{ |
|
25 | +class BasketRepository extends Repository { |
|
27 | 26 | |
28 | 27 | } |
@@ -22,7 +22,6 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class MetadataFormatRepository extends Repository |
|
26 | -{ |
|
25 | +class MetadataFormatRepository extends Repository { |
|
27 | 26 | |
28 | 27 | } |
@@ -28,8 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @access public |
30 | 30 | */ |
31 | -class CollectionRepository extends Repository |
|
32 | -{ |
|
31 | +class CollectionRepository extends Repository { |
|
33 | 32 | /** |
34 | 33 | * @access protected |
35 | 34 | * @var array Set the default ordering. This is applied to findAll(), too. |
@@ -22,7 +22,6 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class PrinterRepository extends Repository |
|
26 | -{ |
|
25 | +class PrinterRepository extends Repository { |
|
27 | 26 | |
28 | 27 | } |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Structure extends AbstractEntity |
|
26 | -{ |
|
25 | +class Structure extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var Structure |
@@ -23,8 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @access public |
25 | 25 | */ |
26 | -class Collection extends AbstractEntity |
|
27 | -{ |
|
26 | +class Collection extends AbstractEntity { |
|
28 | 27 | /** |
29 | 28 | * @access protected |
30 | 29 | * @var int |
@@ -22,8 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class Mail extends AbstractEntity |
|
26 | -{ |
|
25 | +class Mail extends AbstractEntity { |
|
27 | 26 | /** |
28 | 27 | * @access protected |
29 | 28 | * @var string |
@@ -26,8 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @access public |
28 | 28 | */ |
29 | -class Document extends AbstractEntity |
|
30 | -{ |
|
29 | +class Document extends AbstractEntity { |
|
31 | 30 | /** |
32 | 31 | * @access protected |
33 | 32 | * @var \DateTime |
@@ -225,14 +224,12 @@ discard block |
||
225 | 224 | /** |
226 | 225 | * constructor |
227 | 226 | */ |
228 | - public function __construct() |
|
229 | - { |
|
227 | + public function __construct() { |
|
230 | 228 | // Do not remove the next line: It would break the functionality |
231 | 229 | $this->initStorageObjects(); |
232 | 230 | } |
233 | 231 | |
234 | - protected function initStorageObjects() |
|
235 | - { |
|
232 | + protected function initStorageObjects() { |
|
236 | 233 | $this->collections = new ObjectStorage(); |
237 | 234 | } |
238 | 235 | |
@@ -610,8 +607,7 @@ discard block |
||
610 | 607 | * |
611 | 608 | * @return ObjectStorage<Collection> $collections |
612 | 609 | */ |
613 | - public function getCollections() |
|
614 | - { |
|
610 | + public function getCollections() { |
|
615 | 611 | return $this->collections; |
616 | 612 | } |
617 | 613 |