Completed
Push — master ( bd2156...bea8fa )
by Simonas
11s
created
Service/Repository.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return array
76
+     * @return string
77 77
      */
78 78
     public function getType()
79 79
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @param string $id      Document ID to find
87 87
      * @param string $routing Custom routing for the document
88 88
      *
89
-     * @return object
89
+     * @return null|\ReflectionClass
90 90
      */
91 91
     public function find($id, $routing = null)
92 92
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     /**
213 213
      * Parses scroll configuration from raw response.
214 214
      *
215
-     * @param $raw
215
+     * @param callable $raw
216 216
      * @param null $scrollDuration
217 217
      *
218 218
      * @return array
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
      *
380 380
      * @param string $className
381 381
      *
382
-     * @return array
382
+     * @return string
383 383
      */
384 384
     private function resolveType($className)
385 385
     {
Please login to merge, or discard this patch.
Service/Manager.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
      *
354 354
      * @param array $params Parameters that will be passed to the flush or refresh queries.
355 355
      *
356
-     * @return null|array
356
+     * @return callable|null
357 357
      *
358 358
      * @throws BulkWithErrorsException
359 359
      */
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
      *
417 417
      * @throws \InvalidArgumentException
418 418
      *
419
-     * @return null|array
419
+     * @return callable|null
420 420
      */
421 421
     public function bulk($operation, $type, array $query)
422 422
     {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
      * @param string $id        Document ID to find
589 589
      * @param string $routing   Custom routing for the document
590 590
      *
591
-     * @return object
591
+     * @return null|\ReflectionClass
592 592
      */
593 593
     public function find($className, $id, $routing = null)
594 594
     {
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
      *
619 619
      * @deprecated use strict return type functions from Repository instead.
620 620
      *
621
-     * @param array  $types
621
+     * @param string[]  $types
622 622
      * @param Search $search
623 623
      * @param string $resultsType
624 624
      *
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
      *
641 641
      * @deprecated use strict return type functions from Repository class instead.
642 642
      *
643
-     * @param array  $raw
643
+     * @param callable  $raw
644 644
      * @param string $resultsType
645 645
      * @param string $scrollDuration
646 646
      *
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
      * @param string $scrollDuration
708 708
      * @param string $resultsType
709 709
      *
710
-     * @return mixed
710
+     * @return callable
711 711
      *
712 712
      * @throws \Exception
713 713
      */
Please login to merge, or discard this patch.