@@ -22,8 +22,7 @@ |
||
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 |
@@ -22,8 +22,7 @@ |
||
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. |
@@ -22,8 +22,7 @@ |
||
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 |
@@ -30,8 +30,7 @@ |
||
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 |
@@ -22,8 +22,7 @@ |
||
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 |
@@ -28,8 +28,7 @@ |
||
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. |
@@ -22,8 +22,7 @@ |
||
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 |
@@ -24,8 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @access public |
26 | 26 | */ |
27 | -class SolrCore extends AbstractEntity |
|
28 | -{ |
|
27 | +class SolrCore extends AbstractEntity { |
|
29 | 28 | /** |
30 | 29 | * @access protected |
31 | 30 | * @var int |
@@ -55,7 +55,7 @@ |
||
55 | 55 | $output = []; |
56 | 56 | $solrCore = (string) $parameters['solrcore']; |
57 | 57 | $uHash = (string) $parameters['uHash']; |
58 | - if (hash_equals(GeneralUtility::hmac((string) (new Typo3Version()) . Environment::getExtensionsPath(), 'SearchSuggest'), $uHash) === false) { |
|
58 | + if (hash_equals(GeneralUtility::hmac((string) (new Typo3Version()).Environment::getExtensionsPath(), 'SearchSuggest'), $uHash) === false) { |
|
59 | 59 | throw new \InvalidArgumentException('No valid parameter passed!', 1580585079); |
60 | 60 | } |
61 | 61 | // Perform Solr query. |
@@ -30,8 +30,7 @@ |
||
30 | 30 | * |
31 | 31 | * @access public |
32 | 32 | */ |
33 | -class SearchSuggest implements MiddlewareInterface |
|
34 | -{ |
|
33 | +class SearchSuggest implements MiddlewareInterface { |
|
35 | 34 | /** |
36 | 35 | * The process method of the middleware. |
37 | 36 | * |
@@ -55,7 +55,7 @@ |
||
55 | 55 | $output = []; |
56 | 56 | $solrCore = (string) $parameters['solrcore']; |
57 | 57 | $uHash = (string) $parameters['uHash']; |
58 | - if (hash_equals(GeneralUtility::hmac((string) (new Typo3Version()) . Environment::getExtensionsPath(), 'SearchSuggest'), $uHash) === false) { |
|
58 | + if (hash_equals(GeneralUtility::hmac((string) (new Typo3Version()) . Environment::getExtensionsPath(), 'SearchSuggest'), $uHash) === FALSE) { |
|
59 | 59 | throw new \InvalidArgumentException('No valid parameter passed!', 1580585079); |
60 | 60 | } |
61 | 61 | // Perform Solr query. |