Completed
Pull Request — master (#640)
by
unknown
03:21
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.
Service/Manager.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      *
374 374
      * @param array $params Parameters that will be passed to the flush or refresh queries.
375 375
      *
376
-     * @return null|array
376
+     * @return callable|null
377 377
      */
378 378
     public function commit(array $params = [])
379 379
     {
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
      *
405 405
      * @param string $resultsType
406 406
      *
407
-     * @return null|array
407
+     * @return callable|null
408 408
      */
409 409
     public function msearch($resultsType = Result::RESULTS_OBJECT)
410 410
     {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
      *
439 439
      * @throws \InvalidArgumentException
440 440
      *
441
-     * @return null|array
441
+     * @return callable|null
442 442
      */
443 443
     public function bulk($operation, $type, array $query)
444 444
     {
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
      * @param Search   $search     DSL to execute.
490 490
      * @param array    $header    Search header.
491 491
      *
492
-     * @return null|array
492
+     * @return callable|null
493 493
      */
494 494
     public function addSearch(Search $search, $header = [])
495 495
     {
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
      * @param string $className Document class name or Elasticsearch type name
620 620
      * @param string $id        Document ID to find
621 621
      *
622
-     * @return object
622
+     * @return null|\ReflectionClass
623 623
      */
624 624
     public function find($className, $id)
625 625
     {
@@ -643,7 +643,7 @@  discard block
 block discarded – undo
643 643
     /**
644 644
      * Executes given search.
645 645
      *
646
-     * @param array  $types
646
+     * @param string[]  $types
647 647
      * @param Search $search
648 648
      * @param string $resultsType
649 649
      *
Please login to merge, or discard this patch.