Completed
Push — master ( 09a07f...8de6a8 )
by Simonas
01:54
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.
Command/DocumentGenerateCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      * @param array  $properties
255 255
      * @param string $annotation
256 256
      *
257
-     * @return string
257
+     * @return boolean
258 258
      */
259 259
     private function isUniqueAnnotation($properties, $annotation)
260 260
     {
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
      * Returns formatted exception
553 553
      *
554 554
      * @param string $format
555
-     * @param array  $args
555
+     * @param string[]  $args
556 556
      *
557 557
      * @return \InvalidArgumentException
558 558
      */
Please login to merge, or discard this patch.
Event/CommitEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $commitMode
30
-     * @param array|null  $bulkParams BulkQueries or BulkResponse, depending on event
30
+     * @param callable  $bulkParams BulkQueries or BulkResponse, depending on event
31 31
      */
32 32
     public function __construct($commitMode, $bulkParams = [])
33 33
     {
Please login to merge, or discard this patch.
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 array  $raw
215
+     * @param callable  $raw
216 216
      * @param string $scrollDuration
217 217
      *
218 218
      * @return array
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
      *
392 392
      * @param string $className
393 393
      *
394
-     * @return array
394
+     * @return string
395 395
      */
396 396
     private function resolveType($className)
397 397
     {
Please login to merge, or discard this patch.
Service/Manager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      *
353 353
      * @param array $params Parameters that will be passed to the flush or refresh queries.
354 354
      *
355
-     * @return null|array
355
+     * @return callable|null
356 356
      *
357 357
      * @throws BulkWithErrorsException
358 358
      */
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
      *
416 416
      * @throws \InvalidArgumentException
417 417
      *
418
-     * @return null|array
418
+     * @return callable|null
419 419
      */
420 420
     public function bulk($operation, $type, array $query)
421 421
     {
@@ -586,7 +586,7 @@  discard block
 block discarded – undo
586 586
      * @param string $id        Document ID to find
587 587
      * @param string $routing   Custom routing for the document
588 588
      *
589
-     * @return object
589
+     * @return null|\ReflectionClass
590 590
      */
591 591
     public function find($className, $id, $routing = null)
592 592
     {
@@ -617,7 +617,7 @@  discard block
 block discarded – undo
617 617
      * @param string $scrollId
618 618
      * @param string $scrollDuration
619 619
      *
620
-     * @return mixed
620
+     * @return callable
621 621
      *
622 622
      * @throws \Exception
623 623
      */
Please login to merge, or discard this patch.