Completed
Pull Request — master (#513)
by Mantas
03:31
created
Service/Manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     /**
238 238
      * Executes search query in the index.
239 239
      *
240
-     * @param array $types             List of types to search in.
240
+     * @param string[] $types             List of types to search in.
241 241
      * @param array $query             Query to execute.
242 242
      * @param array $queryStringParams Query parameters.
243 243
      *
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      *
300 300
      * @param array $params Parameters that will be passed to the flush or refresh queries.
301 301
      *
302
-     * @return null|array
302
+     * @return callable|null
303 303
      */
304 304
     public function commit(array $params = [])
305 305
     {
Please login to merge, or discard this patch.
Service/Repository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @return array
80
+     * @return string
81 81
      */
82 82
     public function getType()
83 83
     {
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      *
345 345
      * @param string $className
346 346
      *
347
-     * @return array
347
+     * @return string
348 348
      */
349 349
     private function resolveType($className)
350 350
     {
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
     /**
355 355
      * Parses raw result.
356 356
      *
357
-     * @param array  $raw
357
+     * @param callable  $raw
358 358
      * @param string $resultsType
359 359
      * @param string $scrollDuration
360 360
      *
Please login to merge, or discard this patch.