@@ -33,13 +33,13 @@ |
||
33 | 33 | $foundNumbers = $this->documentRepository->getStatisticsForSelectedCollection($this->settings); |
34 | 34 | |
35 | 35 | // Set replacements. |
36 | - $args['###TITLES###'] = $foundNumbers['titles'] . ' ' . htmlspecialchars( |
|
36 | + $args['###TITLES###'] = $foundNumbers['titles'].' '.htmlspecialchars( |
|
37 | 37 | LocalizationUtility::translate( |
38 | 38 | ($foundNumbers['titles'] > 1 ? 'titles' : 'title'), 'dlf' |
39 | 39 | ) |
40 | 40 | ); |
41 | 41 | |
42 | - $args['###VOLUMES###'] = $foundNumbers['volumes'] . ' ' . htmlspecialchars( |
|
42 | + $args['###VOLUMES###'] = $foundNumbers['volumes'].' '.htmlspecialchars( |
|
43 | 43 | LocalizationUtility::translate( |
44 | 44 | ($foundNumbers['volumes'] > 1 ? 'volumes' : 'volume'), 'dlf' |
45 | 45 | ) |
@@ -21,15 +21,13 @@ |
||
21 | 21 | * @subpackage dlf |
22 | 22 | * @access public |
23 | 23 | */ |
24 | -class StatisticsController extends AbstractController |
|
25 | -{ |
|
24 | +class StatisticsController extends AbstractController { |
|
26 | 25 | /** |
27 | 26 | * The main method of the plugin |
28 | 27 | * |
29 | 28 | * @return void |
30 | 29 | */ |
31 | - public function mainAction() |
|
32 | - { |
|
30 | + public function mainAction() { |
|
33 | 31 | $foundNumbers = $this->documentRepository->getStatisticsForSelectedCollection($this->settings); |
34 | 32 | |
35 | 33 | // Set replacements. |
@@ -15,12 +15,10 @@ discard block |
||
15 | 15 | use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; |
16 | 16 | use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper; |
17 | 17 | |
18 | -class StdWrapViewHelper extends AbstractViewHelper |
|
19 | -{ |
|
18 | +class StdWrapViewHelper extends AbstractViewHelper { |
|
20 | 19 | protected $escapeOutput = false; |
21 | 20 | |
22 | - public function initializeArguments() |
|
23 | - { |
|
21 | + public function initializeArguments() { |
|
24 | 22 | parent::initializeArguments(); |
25 | 23 | $this->registerArgument('wrap', 'string', 'The wrap information', true); |
26 | 24 | $this->registerArgument('data', 'array', 'Data for the content object', false); |
@@ -31,8 +29,7 @@ discard block |
||
31 | 29 | * |
32 | 30 | * @return string |
33 | 31 | */ |
34 | - public function render() |
|
35 | - { |
|
32 | + public function render() { |
|
36 | 33 | $wrap = $this->arguments['wrap']; |
37 | 34 | $data = $this->arguments['data'] ?? []; |
38 | 35 |
@@ -17,13 +17,13 @@ |
||
17 | 17 | |
18 | 18 | class StdWrapViewHelper extends AbstractViewHelper |
19 | 19 | { |
20 | - protected $escapeOutput = false; |
|
20 | + protected $escapeOutput = FALSE; |
|
21 | 21 | |
22 | 22 | public function initializeArguments() |
23 | 23 | { |
24 | 24 | parent::initializeArguments(); |
25 | - $this->registerArgument('wrap', 'string', 'The wrap information', true); |
|
26 | - $this->registerArgument('data', 'array', 'Data for the content object', false); |
|
25 | + $this->registerArgument('wrap', 'string', 'The wrap information', TRUE); |
|
26 | + $this->registerArgument('data', 'array', 'Data for the content object', FALSE); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |