@@ -39,8 +39,7 @@ |
||
39 | 39 | * |
40 | 40 | * @access public |
41 | 41 | */ |
42 | -class MetadataWrapVariableViewHelper extends AbstractViewHelper |
|
43 | -{ |
|
42 | +class MetadataWrapVariableViewHelper extends AbstractViewHelper { |
|
44 | 43 | /** |
45 | 44 | * @access public |
46 | 45 | * |
@@ -25,8 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @access public |
27 | 27 | */ |
28 | -class JsFooterViewHelper extends AbstractViewHelper |
|
29 | -{ |
|
28 | +class JsFooterViewHelper extends AbstractViewHelper { |
|
30 | 29 | /** |
31 | 30 | * Initialize arguments. |
32 | 31 | * |
@@ -15,8 +15,7 @@ |
||
15 | 15 | use Kitodo\Dlf\Common\Solr\SolrSearch; |
16 | 16 | use TYPO3\CMS\Core\Pagination\AbstractPaginator; |
17 | 17 | |
18 | -class SolrPaginator extends AbstractPaginator |
|
19 | -{ |
|
18 | +class SolrPaginator extends AbstractPaginator { |
|
20 | 19 | /** |
21 | 20 | * @var SolrSearch |
22 | 21 | */ |
@@ -27,8 +27,7 @@ |
||
27 | 27 | * |
28 | 28 | * @access public |
29 | 29 | */ |
30 | -class KitodoFlashMessageRenderer implements FlashMessageRendererInterface |
|
31 | -{ |
|
30 | +class KitodoFlashMessageRenderer implements FlashMessageRendererInterface { |
|
32 | 31 | /** |
33 | 32 | * @var array The message severity class names |
34 | 33 | */ |
@@ -25,8 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @access public |
27 | 27 | */ |
28 | -class IiifUrlReader implements UrlReaderInterface |
|
29 | -{ |
|
28 | +class IiifUrlReader implements UrlReaderInterface { |
|
30 | 29 | /** |
31 | 30 | * @access protected |
32 | 31 | * @var IiifUrlReader Singleton instance of the class |
@@ -36,8 +35,7 @@ discard block |
||
36 | 35 | /** |
37 | 36 | * @see UrlReaderInterface::getContent() |
38 | 37 | */ |
39 | - public function getContent($url) |
|
40 | - { |
|
38 | + public function getContent($url) { |
|
41 | 39 | $fileContents = GeneralUtility::getUrl($url); |
42 | 40 | if ($fileContents !== false) { |
43 | 41 | return $fileContents; |
@@ -20,8 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @access public |
22 | 22 | */ |
23 | -class Page |
|
24 | -{ |
|
23 | +class Page { |
|
25 | 24 | |
26 | 25 | /** |
27 | 26 | * @access private |
@@ -57,8 +56,7 @@ discard block |
||
57 | 56 | * |
58 | 57 | * @return void |
59 | 58 | */ |
60 | - public function __construct(int $id, array $page) |
|
61 | - { |
|
59 | + public function __construct(int $id, array $page) { |
|
62 | 60 | $this->id = $id; |
63 | 61 | $this->name = $page['id']; |
64 | 62 | $this->width = $page['width']; |
@@ -20,8 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @access public |
22 | 22 | */ |
23 | -class Highlight |
|
24 | -{ |
|
23 | +class Highlight { |
|
25 | 24 | |
26 | 25 | /** |
27 | 26 | * @access private |
@@ -62,8 +61,7 @@ discard block |
||
62 | 61 | * |
63 | 62 | * @return void |
64 | 63 | */ |
65 | - public function __construct(array $highlight) |
|
66 | - { |
|
64 | + public function __construct(array $highlight) { |
|
67 | 65 | // there is also possibility to access parentRegionIdx |
68 | 66 | // $this->parentRegionId = $highlight['parentRegionIdx']; |
69 | 67 | $this->xBeginPosition = $highlight['ulx']; |
@@ -20,8 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @access public |
22 | 22 | */ |
23 | -class Region |
|
24 | -{ |
|
23 | +class Region { |
|
25 | 24 | |
26 | 25 | /** |
27 | 26 | * @access private |
@@ -87,8 +86,7 @@ discard block |
||
87 | 86 | * |
88 | 87 | * @return void |
89 | 88 | */ |
90 | - public function __construct(int $id, array $region) |
|
91 | - { |
|
89 | + public function __construct(int $id, array $region) { |
|
92 | 90 | $this->id = $id; |
93 | 91 | $this->pageId = $region['pageIdx']; |
94 | 92 | $this->xBeginPosition = $region['ulx']; |
@@ -22,8 +22,7 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class ResultDocument |
|
26 | -{ |
|
25 | +class ResultDocument { |
|
27 | 26 | |
28 | 27 | /** |
29 | 28 | * @access private |
@@ -108,8 +107,7 @@ discard block |
||
108 | 107 | * |
109 | 108 | * @return void |
110 | 109 | */ |
111 | - public function __construct(Document $record, array $highlighting, array $fields) |
|
112 | - { |
|
110 | + public function __construct(Document $record, array $highlighting, array $fields) { |
|
113 | 111 | $this->id = $record[$fields['id']]; |
114 | 112 | $this->uid = $record[$fields['uid']]; |
115 | 113 | $this->page = $record[$fields['page']]; |