@@ -21,8 +21,7 @@ |
||
21 | 21 | * @access public |
22 | 22 | * @abstract |
23 | 23 | */ |
24 | -interface FulltextInterface |
|
25 | -{ |
|
24 | +interface FulltextInterface { |
|
26 | 25 | /** |
27 | 26 | * This extracts raw fulltext data from XML |
28 | 27 | * |
@@ -21,8 +21,7 @@ |
||
21 | 21 | * @access public |
22 | 22 | * @abstract |
23 | 23 | */ |
24 | -interface MetadataInterface |
|
25 | -{ |
|
24 | +interface MetadataInterface { |
|
26 | 25 | /** |
27 | 26 | * This extracts metadata from XML |
28 | 27 | * |
@@ -25,8 +25,7 @@ discard block |
||
25 | 25 | * @subpackage dlf |
26 | 26 | * @access public |
27 | 27 | */ |
28 | -class IiifUrlReader implements UrlReaderInterface |
|
29 | -{ |
|
28 | +class IiifUrlReader implements UrlReaderInterface { |
|
30 | 29 | /** |
31 | 30 | * Singleton instance of the class |
32 | 31 | * |
@@ -40,8 +39,7 @@ discard block |
||
40 | 39 | * {@inheritDoc} |
41 | 40 | * @see \Ubl\Iiif\Tools\UrlReaderInterface::getContent() |
42 | 41 | */ |
43 | - public function getContent($url) |
|
44 | - { |
|
42 | + public function getContent($url) { |
|
45 | 43 | $fileContents = GeneralUtility::getUrl($url); |
46 | 44 | if ($fileContents !== false) { |
47 | 45 | return $fileContents; |
@@ -57,8 +55,7 @@ discard block |
||
57 | 55 | * |
58 | 56 | * @return IiifUrlReader |
59 | 57 | */ |
60 | - public static function getInstance() |
|
61 | - { |
|
58 | + public static function getInstance() { |
|
62 | 59 | if (!isset(self::$instance)) { |
63 | 60 | self::$instance = new IiifUrlReader(); |
64 | 61 | } |
@@ -21,8 +21,7 @@ |
||
21 | 21 | * The created output contains all classes which are required for |
22 | 22 | * the TYPO3 backend. Any kind of message contains also a nice icon. |
23 | 23 | */ |
24 | -class KitodoFlashMessageRenderer implements \TYPO3\CMS\Core\Messaging\Renderer\FlashMessageRendererInterface |
|
25 | -{ |
|
24 | +class KitodoFlashMessageRenderer implements \TYPO3\CMS\Core\Messaging\Renderer\FlashMessageRendererInterface { |
|
26 | 25 | /** |
27 | 26 | * @var string The message severity class names |
28 | 27 | */ |
@@ -23,8 +23,7 @@ |
||
23 | 23 | * @subpackage dlf |
24 | 24 | * @access public |
25 | 25 | */ |
26 | -class ext_update |
|
27 | -{ |
|
26 | +class ext_update { |
|
28 | 27 | /** |
29 | 28 | * This holds the output ready to return |
30 | 29 | * |
@@ -24,8 +24,7 @@ discard block |
||
24 | 24 | * @subpackage dlf |
25 | 25 | * @access public |
26 | 26 | */ |
27 | -class PageViewProxy |
|
28 | -{ |
|
27 | +class PageViewProxy { |
|
29 | 28 | |
30 | 29 | /** |
31 | 30 | * The main method of the eID script |
@@ -35,8 +34,7 @@ discard block |
||
35 | 34 | * @param ServerRequestInterface $request |
36 | 35 | * @return ResponseInterface |
37 | 36 | */ |
38 | - public function main(ServerRequestInterface $request) |
|
39 | - { |
|
37 | + public function main(ServerRequestInterface $request) { |
|
40 | 38 | // header parameter for getUrl(); allowed values 0,1,2; default 0 |
41 | 39 | $header = (int) $request->getQueryParams()['header']; |
42 | 40 | $header = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($header, 0, 2, 0); |
@@ -23,10 +23,8 @@ |
||
23 | 23 | * @subpackage dlf |
24 | 24 | * @access public |
25 | 25 | */ |
26 | -class DocumentTypeProvider extends AbstractProvider |
|
27 | -{ |
|
28 | - public function __construct() |
|
29 | - { |
|
26 | +class DocumentTypeProvider extends AbstractProvider { |
|
27 | + public function __construct() { |
|
30 | 28 | $this->expressionLanguageProviders = [ |
31 | 29 | DocumentTypeFunctionProvider::class |
32 | 30 | ]; |
@@ -22,8 +22,7 @@ discard block |
||
22 | 22 | * @subpackage dlf |
23 | 23 | * @access public |
24 | 24 | */ |
25 | -class FulltextDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin |
|
26 | -{ |
|
25 | +class FulltextDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin { |
|
27 | 26 | public $scriptRelPath = 'Classes/Plugin/Tools/FulltextDownloadTool.php'; |
28 | 27 | |
29 | 28 | /** |
@@ -36,8 +35,7 @@ discard block |
||
36 | 35 | * |
37 | 36 | * @return string The content that is displayed on the website |
38 | 37 | */ |
39 | - public function main($content, $conf) |
|
40 | - { |
|
38 | + public function main($content, $conf) { |
|
41 | 39 | $this->init($conf); |
42 | 40 | // Merge configuration with conf array of toolbox. |
43 | 41 | if (!empty($this->cObj->data['conf'])) { |
@@ -24,8 +24,7 @@ |
||
24 | 24 | * @subpackage dlf |
25 | 25 | * @access public |
26 | 26 | */ |
27 | -class SolrCoreStatus extends AbstractNode |
|
28 | -{ |
|
27 | +class SolrCoreStatus extends AbstractNode { |
|
29 | 28 | /** |
30 | 29 | * Shows Solr core status for given 'index_name' |
31 | 30 | * |