Completed
Pull Request — master (#601)
by
unknown
02:29
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.
Service/Manager.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      *
319 319
      * @param array $params Parameters that will be passed to the flush or refresh queries.
320 320
      *
321
-     * @return null|array
321
+     * @return callable|null
322 322
      */
323 323
     public function commit(array $params = [])
324 324
     {
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      *
353 353
      * @throws \InvalidArgumentException
354 354
      *
355
-     * @return null|array
355
+     * @return callable|null
356 356
      */
357 357
     public function bulk($operation, $type, array $query)
358 358
     {
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
      * @param string $className Document class name or Elasticsearch type name
508 508
      * @param string $id        Document ID to find
509 509
      *
510
-     * @return object
510
+     * @return null|\ReflectionClass
511 511
      */
512 512
     public function find($className, $id)
513 513
     {
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     /**
532 532
      * Executes given search.
533 533
      *
534
-     * @param array  $types
534
+     * @param string[]  $types
535 535
      * @param Search $search
536 536
      * @param string $resultsType
537 537
      *
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
     /**
552 552
      * Parses raw result.
553 553
      *
554
-     * @param array  $raw
554
+     * @param callable  $raw
555 555
      * @param string $resultsType
556 556
      * @param string $scrollDuration
557 557
      *
Please login to merge, or discard this patch.
Command/DocumentGenerateCommand.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      *
230 230
      * @param InputInterface  $input
231 231
      * @param OutputInterface $output
232
-     * @param mixed           $default
232
+     * @param string           $default
233 233
      *
234 234
      * @return string
235 235
      */
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      *
313 313
      * @param string $shortcut
314 314
      *
315
-     * @return array
315
+     * @return string[]
316 316
      * @throws \InvalidArgumentException
317 317
      */
318 318
     private function parseShortcutNotation($shortcut)
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
      * @param array  $options
484 484
      * @param string $suffix
485 485
      *
486
-     * @return array
486
+     * @return string[]
487 487
      */
488 488
     private function getOptionsLabel(array $options, $suffix)
489 489
     {
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
     /**
531 531
      * Returns property annotations
532 532
      *
533
-     * @return array
533
+     * @return string[]
534 534
      */
535 535
     private function getPropertyAnnotations()
536 536
     {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     /**
541 541
      * Returns document annotations
542 542
      *
543
-     * @return array
543
+     * @return string[]
544 544
      */
545 545
     private function getDocumentAnnotations()
546 546
     {
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
     /**
551 551
      * Returns reserved keywords
552 552
      *
553
-     * @return array
553
+     * @return string[]
554 554
      */
555 555
     private function getReservedKeywords()
556 556
     {
Please login to merge, or discard this patch.