Completed
Pull Request — master (#929)
by Timo
08:33
created
Classes/Query.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      *
195 195
      * @param string $msg
196 196
      * @param int $severity
197
-     * @param mixed $dataVar
197
+     * @param string[] $dataVar
198 198
      */
199 199
     protected function writeDevLog($msg, $severity = 0, $dataVar = false)
200 200
     {
@@ -1024,7 +1024,7 @@  discard block
 block discarded – undo
1024 1024
     /**
1025 1025
      * Sets the fields to return by a query.
1026 1026
      *
1027
-     * @param array|string $fieldList an array or comma-separated list of field names
1027
+     * @param string $fieldList an array or comma-separated list of field names
1028 1028
      * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays
1029 1029
      */
1030 1030
     public function setFieldList($fieldList = ['*', 'score'])
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
      *
1101 1101
      * This query supports the complete Lucene Query Language.
1102 1102
      *
1103
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1103
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1104 1104
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1105 1105
      */
1106 1106
     public function setAlternativeQuery($alternativeQuery)
Please login to merge, or discard this patch.
Classes/Util.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      * @param int $pageId Id of the (root) page to get the Solr configuration from.
244 244
      * @param string $path The TypoScript configuration path to retrieve.
245 245
      * @param bool $initializeTsfe Optionally initializes a full TSFE to get the configuration, defaults to FALSE
246
-     * @param int|bool $language System language uid or FALSE to disable language usage, optional, defaults to 0
246
+     * @param integer $language System language uid or FALSE to disable language usage, optional, defaults to 0
247 247
      * @param bool $useTwoLevelCache Flag to enable the two level cache for the typoscript configuration array
248 248
      * @return TypoScriptConfiguration The Solr configuration for the requested tree.
249 249
      */
@@ -343,9 +343,9 @@  discard block
 block discarded – undo
343 343
 
344 344
     /**
345 345
      * This function is used to retrieve the configuration from an existing TSFE instance
346
-     * @param $pageId
347
-     * @param $path
348
-     * @param $language
346
+     * @param integer $pageId
347
+     * @param string $path
348
+     * @param integer $language
349 349
      * @return mixed
350 350
      */
351 351
     private static function getConfigurationFromExistingTSFE($pageId, $path, $language)
Please login to merge, or discard this patch.