Passed
Pull Request — master (#1538)
by Georg
29:29
created
Classes/Domain/Search/ResultSet/Spellchecking/Suggestion.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -49,13 +49,13 @@
 block discarded – undo
49 49
      */
50 50
     protected $endOffset = 0;
51 51
 
52
-     /**
53
-     * @param string $suggestion the suggested term
54
-     * @param string $missSpelled the misspelled original term
55
-     * @param int $numFound
56
-     * @param int $startOffset
57
-     * @param int $endOffset
58
-     */
52
+        /**
53
+         * @param string $suggestion the suggested term
54
+         * @param string $missSpelled the misspelled original term
55
+         * @param int $numFound
56
+         * @param int $startOffset
57
+         * @param int $endOffset
58
+         */
59 59
     public function __construct($suggestion = '', $missSpelled = '', $numFound = 1, $startOffset = 0, $endOffset = 0)
60 60
     {
61 61
         $this->suggestion = $suggestion;
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Facets/AbstractFacetItem.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
  *
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16
-use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet;
17 16
 
18 17
 /**
19 18
  * Abstract item that represent a value of a facet. E.g. an option or a node
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Facets/AbstractFacetPackage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $parser = $this->objectManager->get($this->getParserClassName());
48 48
         if (!$parser instanceof FacetParserInterface) {
49
-            throw new InvalidFacetPackageException('Invalid parser for package ' . __CLASS__ );
49
+            throw new InvalidFacetPackageException('Invalid parser for package ' . __CLASS__);
50 50
         }
51 51
         return $parser;
52 52
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $urlDecoder = $this->objectManager->get($this->getUrlDecoderClassName());
68 68
         if (!$urlDecoder instanceof FacetUrlDecoderInterface) {
69
-            throw new InvalidUrlDecoderException('Invalid urldecoder for package ' . __CLASS__ );
69
+            throw new InvalidUrlDecoderException('Invalid urldecoder for package ' . __CLASS__);
70 70
         }
71 71
         return $urlDecoder;
72 72
     }
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     public function getQueryBuilder()
86 86
     {
87 87
         $urlDecoder = $this->objectManager->get($this->getQueryBuilderClassName());
88
-        if(!$urlDecoder instanceof FacetQueryBuilderInterface) {
89
-            throw new InvalidQueryBuilderException('Invalid querybuilder for package ' . __CLASS__ );
88
+        if (!$urlDecoder instanceof FacetQueryBuilderInterface) {
89
+            throw new InvalidQueryBuilderException('Invalid querybuilder for package ' . __CLASS__);
90 90
         }
91 91
         return $urlDecoder;
92 92
     }
Please login to merge, or discard this patch.
Classes/ViewHelpers/Backend/Document/IsBoostedFieldViewHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * This method decides if the condition is true or false
50 50
      *
51 51
      * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper.
52
-     * @return bool
52
+     * @return double
53 53
      */
54 54
     protected static function evaluateCondition($arguments = null)
55 55
     {
Please login to merge, or discard this patch.
Classes/Controller/Backend/PageModuleSummary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     {
81 81
         /** @var $service \TYPO3\CMS\Extbase\Service\FlexFormService::class */
82 82
         $service = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Service\FlexFormService::class);
83
-        $this->flexformData  = $service->convertFlexFormContentToArray($contentElement['pi_flexform']);
83
+        $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']);
84 84
         $this->pluginContentElement = $contentElement;
85 85
     }
86 86
 
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Facets/AbstractFacet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     public function getIncludeInUsedFacets()
220 220
     {
221 221
 
222
-        return ((int) $this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1;
222
+        return ((int)$this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1;
223 223
     }
224 224
 
225 225
     /**
Please login to merge, or discard this patch.
Classes/Domain/Index/Queue/RecordMonitor/Helper/RootPageResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
         }
188 188
         if ($this->extensionConfiguration->getIsUseConfigurationTrackRecordsOutsideSiteroot()) {
189 189
             $recordPageId = $this->getRecordPageId($table, $uid);
190
-            if($recordPageId === 0) {
190
+            if ($recordPageId === 0) {
191 191
                 return $rootPages;
192 192
             }
193 193
             $alternativeSiteRoots = $this->getAlternativeSiteRootPagesIds($table, $uid, $recordPageId);
Please login to merge, or discard this patch.
Classes/System/Util/ArrayAccessor.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,10 +164,10 @@  discard block
 block discarded – undo
164 164
             // direct access for small paths
165 165
             case 1:
166 166
                $this->data[$pathArray[0]] = $value;
167
-               return;
167
+                return;
168 168
             case 2:
169 169
                $this->data[$pathArray[0]][$pathArray[1]] = $value;
170
-               return;
170
+                return;
171 171
             default:
172 172
                $this->setDeepElementWithLoop($pathArray, $value);
173 173
         }
@@ -208,10 +208,10 @@  discard block
 block discarded – undo
208 208
             // direct access for small paths
209 209
             case 1:
210 210
                 unset($this->data[$pathArray[0]]);
211
-                 return;
211
+                    return;
212 212
             case 2:
213 213
                 unset($this->data[$pathArray[0]][$pathArray[1]]);
214
-                 return;
214
+                    return;
215 215
             default:
216 216
                 $this->resetDeepElementWithLoop($pathArray);
217 217
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Filters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function removeByPrefix($filterFieldName)
59 59
     {
60 60
         foreach ($this->filters as $key => $filterString) {
61
-            if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName )) {
61
+            if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName)) {
62 62
                 unset($this->filters[$key]);
63 63
             }
64 64
         }
Please login to merge, or discard this patch.