Passed
Branch master (c0a34d)
by Timo
03:39
created
Classes/ContentObject/Relation.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,6 @@
 block discarded – undo
119 119
     /**
120 120
      * Gets the related items of the current record's configured field.
121 121
      *
122
-     * @param array $configuration for the content object
123 122
      * @param ContentObjectRenderer $parentContentObject parent content object
124 123
      * @return array Array of related items, values already resolved from related records
125 124
      */
Please login to merge, or discard this patch.
Classes/Controller/AdministrationController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
     }
295 295
 
296 296
     /**
297
-     * @param $site
297
+     * @param Site $site
298 298
      */
299 299
     protected function setSiteAndResetCore($site)
300 300
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -169,10 +169,10 @@
 block discarded – undo
169 169
     {
170 170
     }
171 171
 
172
-     /**
173
-     * Call a sub-module's controller
174
-     *
175
-     */
172
+        /**
173
+         * Call a sub-module's controller
174
+         *
175
+         */
176 176
     protected function invokeModuleController()
177 177
     {
178 178
         $activeModuleDescription = $this->moduleManager->getModuleDescription($this->activeModuleName);
Please login to merge, or discard this patch.
Classes/Domain/Index/IndexService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
     /**
137 137
      * Emits a signal after all items was indexed
138 138
      *
139
-     * @param array $itemsToIndex
139
+     * @param Item[] $itemsToIndex
140 140
      */
141 141
     protected function emitAfterIndexItemsSignal($itemsToIndex)
142 142
     {
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/SearchResultSetService.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
     /**
422 422
      * Checks it the results should be hidden in the response.
423 423
      *
424
-     * @param $rawQuery
424
+     * @param string $rawQuery
425 425
      * @return bool
426 426
      */
427 427
     protected function shouldHideResultsFromInitialSearch($rawQuery)
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
     }
614 614
 
615 615
     /**
616
-     * @param $requestedPerPage
616
+     * @param integer $requestedPerPage
617 617
      */
618 618
     protected function setPerPageInSession($requestedPerPage)
619 619
     {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -9 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      * @param Query $query The query that has been searched for.
283 283
      * @param \Apache_Solr_Response $response The search's response.
284 284
      */
285
-    protected function processResponse($rawQuery, Query $query, \Apache_Solr_Response &$response)
285
+    protected function processResponse($rawQuery, Query $query, \Apache_Solr_Response & $response)
286 286
     {
287 287
         if ($this->shouldHideResultsFromInitialSearch($rawQuery)) {
288 288
             // explicitly set number of results to 0 as we just wanted
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
      *
311 311
      * @param \Apache_Solr_Response $response
312 312
      */
313
-    protected function addExpandedDocumentsFromVariants(\Apache_Solr_Response &$response)
313
+    protected function addExpandedDocumentsFromVariants(\Apache_Solr_Response & $response)
314 314
     {
315 315
         if (!is_array($response->response->docs)) {
316 316
             return;
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * @param \Apache_Solr_Response $response
363 363
      * @throws \InvalidArgumentException
364 364
      */
365
-    protected function wrapResultDocumentInResultObject(\Apache_Solr_Response &$response)
365
+    protected function wrapResultDocumentInResultObject(\Apache_Solr_Response & $response)
366 366
     {
367 367
         if (!is_array($response->response->docs)) {
368 368
             return;
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
         $searchResultClassName = $this->getResultClassName();
388 388
         $result = GeneralUtility::makeInstance($searchResultClassName, $originalDocument);
389 389
         if (!$result instanceof SearchResult) {
390
-            throw new \InvalidArgumentException('Could not create result object with class: ' . (string) $searchResultClassName, 1470037679);
390
+            throw new \InvalidArgumentException('Could not create result object with class: ' . (string)$searchResultClassName, 1470037679);
391 391
         }
392 392
 
393 393
         return $result;
@@ -399,8 +399,7 @@  discard block
 block discarded – undo
399 399
     protected function getResultClassName()
400 400
     {
401 401
         return isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultClassName ']) ?
402
-            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultClassName '] :
403
-            'ApacheSolrForTypo3\\Solr\\Domain\\Search\\ResultSet\\SearchResult';
402
+            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultClassName '] : 'ApacheSolrForTypo3\\Solr\\Domain\\Search\\ResultSet\\SearchResult';
404 403
     }
405 404
 
406 405
     /**
@@ -409,8 +408,7 @@  discard block
 block discarded – undo
409 408
     protected function getResultSetClassName()
410 409
     {
411 410
         return isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultSetClassName ']) ?
412
-            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultSetClassName '] :
413
-            'ApacheSolrForTypo3\\Solr\\Domain\\Search\\ResultSet\\SearchResultSet';
411
+            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['searchResultSetClassName '] : 'ApacheSolrForTypo3\\Solr\\Domain\\Search\\ResultSet\\SearchResultSet';
414 412
     }
415 413
 
416 414
     /**
@@ -556,7 +554,7 @@  discard block
 block discarded – undo
556 554
         $response = $this->search->search($query, 0, 1);
557 555
         $this->processResponse($documentId, $query, $response);
558 556
 
559
-        $resultDocument = isset($response->response->docs[0]) ?  $response->response->docs[0] : null;
557
+        $resultDocument = isset($response->response->docs[0]) ? $response->response->docs[0] : null;
560 558
         return $resultDocument;
561 559
     }
562 560
 
Please login to merge, or discard this patch.
Classes/Facet/AbstractFacetRenderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@
 block discarded – undo
153 153
     /**
154 154
      * Renders a numeric range facet by providing a slider
155 155
      *
156
+     * @return string
156 157
      */
157 158
     abstract protected function renderFacetOptions();
158 159
 
Please login to merge, or discard this patch.
Classes/Facet/DateRangeFacetRenderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -106,6 +106,7 @@
 block discarded – undo
106 106
 
107 107
     /**
108 108
      * tbd
109
+     * @param string $facetName
109 110
      */
110 111
     protected function buildAddFacetUrl($facetName)
111 112
     {
Please login to merge, or discard this patch.
Classes/HtmlContentExtractor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -143,6 +143,7 @@
 block discarded – undo
143 143
      * characters.
144 144
      *
145 145
      * @param string String to clean
146
+     * @param string $content
146 147
      * @return string String cleaned from tags and special whitespace characters
147 148
      */
148 149
     public static function cleanContent($content)
Please login to merge, or discard this patch.
Classes/IndexQueue/Indexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      * Indexes an item from the indexing queue.
100 100
      *
101 101
      * @param Item $item An index queue item
102
-     * @return Apache_Solr_Response The Apache Solr response
102
+     * @return boolean The Apache Solr response
103 103
      */
104 104
     public function index(Item $item)
105 105
     {
Please login to merge, or discard this patch.
Classes/IndexQueue/Item.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -350,6 +350,9 @@
 block discarded – undo
350 350
         }
351 351
     }
352 352
 
353
+    /**
354
+     * @param string $key
355
+     */
353 356
     public function hasIndexingProperty($key)
354 357
     {
355 358
         $this->loadIndexingProperties();
Please login to merge, or discard this patch.