Completed
Push — master ( 034cdd...c7f02f )
by Timo
14s
created
Classes/System/Util/ArrayAccessor.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,10 +165,10 @@
 block discarded – undo
165 165
             // direct access for small paths
166 166
             case 1:
167 167
                $this->data[$pathArray[0]] = $value;
168
-               return;
168
+                return;
169 169
             case 2:
170 170
                $this->data[$pathArray[0]][$pathArray[1]] = $value;
171
-               return;
171
+                return;
172 172
             default:
173 173
                $this->setDeepElementWithLoop($pathArray, $value);
174 174
         }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,12 +247,12 @@
 block discarded – undo
247 247
     protected function getPathAsArray($path)
248 248
     {
249 249
         if (!$this->includePathSeparatorInKeys) {
250
-            $pathArray =  explode($this->pathSeparator, $path);
250
+            $pathArray = explode($this->pathSeparator, $path);
251 251
             return $pathArray;
252 252
         }
253 253
 
254 254
         $substitutedPath = str_replace($this->pathSeparator, $this->pathSeparator . '@@@', trim($path));
255
-        $pathArray =  array_filter(explode('@@@', $substitutedPath));
255
+        $pathArray = array_filter(explode('@@@', $substitutedPath));
256 256
         return $pathArray;
257 257
     }
258 258
 }
Please login to merge, or discard this patch.
Classes/System/Configuration/TypoScriptConfiguration.php 2 patches
Indentation   -3 removed lines patch added patch discarded remove patch
@@ -767,7 +767,6 @@  discard block
 block discarded – undo
767 767
      * Returns if a log message should be written when a page was indexed.
768 768
      *
769 769
      * plugin.tx_solr.logging.indexing.pageIndexed
770
-
771 770
      * @param bool $defaultIfEmpty
772 771
      * @return bool
773 772
      */
@@ -781,7 +780,6 @@  discard block
 block discarded – undo
781 780
      * Returns if a log message should be written when the TYPO3 search markers are missing in the page.
782 781
      *
783 782
      * plugin.tx_solr.logging.indexing.missingTypo3SearchMarkers
784
-
785 783
      * @param bool $defaultIfEmpty
786 784
      * @return bool
787 785
      */
@@ -809,7 +807,6 @@  discard block
 block discarded – undo
809 807
      * Indicates if the debug mode is enabled or not.
810 808
      *
811 809
      * plugin.tx_solr.enableDebugMode
812
-
813 810
      * @param bool $defaultIfEmpty
814 811
      * @return bool
815 812
      */
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1561,7 +1561,7 @@
 block discarded – undo
1561 1561
      *
1562 1562
      * plugin.tx_solr.search.query.returnFields
1563 1563
      *
1564
-     * @param array $defaultIfEmpty
1564
+     * @param string[] $defaultIfEmpty
1565 1565
      * @return array
1566 1566
      */
1567 1567
     public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = [])
Please login to merge, or discard this patch.
Classes/ViewHelper/Crop.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         }
61 61
 
62 62
         if (isset($cropConfiguration['cropFullWords'])) {
63
-            $this->cropFullWords = (boolean) $cropConfiguration ['cropFullWords'];
63
+            $this->cropFullWords = (boolean)$cropConfiguration ['cropFullWords'];
64 64
         }
65 65
     }
66 66
 
Please login to merge, or discard this patch.
Classes/Template.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
             $ucHelperKey = Util::underscoredToUpperCamelCase($helperKey);
219 219
             $vendorNameSpace = 'ApacheSolrForTypo3\\Solr\\';
220 220
             $possibleFilename = $ucHelperKey . '.php';
221
-            $possibleClassName =  $vendorNameSpace . str_replace('/', '\\',
221
+            $possibleClassName = $vendorNameSpace . str_replace('/', '\\',
222 222
                     $viewHelperRealPath) . '\\' . $ucHelperKey;
223 223
 
224 224
             $viewHelperIncludePath = ExtensionManagementUtility::extPath($extensionKey)
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1152,7 +1152,7 @@
 block discarded – undo
1152 1152
     }
1153 1153
 
1154 1154
     /**
1155
-     * @param $templateContent
1155
+     * @param string $templateContent
1156 1156
      * @return mixed
1157 1157
      */
1158 1158
     public function setTemplateContent($templateContent)
Please login to merge, or discard this patch.
Classes/SuggestQuery.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
      */
40 40
     protected $configuration;
41 41
 
42
-     /**
43
-     * @var string
44
-     */
42
+        /**
43
+         * @var string
44
+         */
45 45
     protected $prefix;
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function __construct($keywords, $solrConfiguration = null)
54 54
     {
55
-        $keywords = (string) $keywords;
55
+        $keywords = (string)$keywords;
56 56
         if ($solrConfiguration == null) {
57 57
             $solrConfiguration = Util::getSolrConfiguration();
58 58
         }
Please login to merge, or discard this patch.
Classes/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -526,7 +526,7 @@
 block discarded – undo
526 526
             $spellcheckingSuggestions = $suggestions;
527 527
 
528 528
             if (isset($this->response->spellcheck->collations)) {
529
-                $collections = (array) $this->response->spellcheck->collations;
529
+                $collections = (array)$this->response->spellcheck->collations;
530 530
                 $spellcheckingSuggestions['collation'] = $collections['collation'];
531 531
             }
532 532
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $activeFacets = $this->getActiveFacets();
155 155
         $facetNames = [];
156 156
 
157
-        array_map(function ($activeFacet) use (&$facetNames) {
157
+        array_map(function($activeFacet) use (&$facetNames) {
158 158
             $facetNames[] = substr($activeFacet, 0, strpos($activeFacet, ':'));
159 159
         }, $activeFacets);
160 160
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
         $values = [];
172 172
         $activeFacets = $this->getActiveFacets();
173 173
 
174
-        array_map(function ($activeFacet) use (&$values, $facetName) {
174
+        array_map(function($activeFacet) use (&$values, $facetName) {
175 175
             $parts = explode(':', $activeFacet, 2);
176 176
             if ($parts[0] === $facetName) {
177 177
                 $values[] = $parts[1];
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     public function removeAllFacetValuesByName($facetName)
274 274
     {
275 275
         $facetValues = $this->getActiveFacets();
276
-        $facetValues = array_filter($facetValues, function ($facetValue) use ($facetName) {
276
+        $facetValues = array_filter($facetValues, function($facetValue) use ($facetName) {
277 277
             $parts = explode(':', $facetValue, 2);
278 278
             return $parts[0] !== $facetName;
279 279
         });
Please login to merge, or discard this patch.
Classes/ContentObject/Relation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
             ));
371 371
 
372 372
             // restore
373
-            $this->configuration= $backupConfiguration;
373
+            $this->configuration = $backupConfiguration;
374 374
             $parentContentObject->data = $backupRecord;
375 375
         }
376 376
 
Please login to merge, or discard this patch.
Classes/IndexQueue/PageIndexerRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
      * Sets a request's parameter and its value.
325 325
      *
326 326
      * @param string $parameter Parameter name
327
-     * @param mixed $value Parameter value.
327
+     * @param string $value Parameter value.
328 328
      */
329 329
     public function setParameter($parameter, $value)
330 330
     {
Please login to merge, or discard this patch.