Completed
Pull Request — master (#513)
by Mantas
03:31
created
Service/Json/JsonReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     /**
191 191
      * Returns parsed current line.
192 192
      *
193
-     * @return mixed
193
+     * @return string
194 194
      */
195 195
     public function current()
196 196
     {
Please login to merge, or discard this patch.
Result/Converter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Converts raw array to document.
39 39
      *
40
-     * @param array      $rawData
40
+     * @param callable      $rawData
41 41
      * @param Repository $repository
42 42
      *
43
-     * @return object
43
+     * @return \ReflectionClass
44 44
      *
45 45
      * @throws \LogicException
46 46
      */
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @param \ReflectionClass $object
79 79
      * @param array            $aliases
80 80
      *
81
-     * @return object
81
+     * @return \ReflectionClass
82 82
      */
83 83
     public function assignArrayToObject(array $array, $object, array $aliases)
84 84
     {
Please login to merge, or discard this patch.
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.