Completed
Push — upgrade ( e29d4e...a26676 )
by Simonas
01:42
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
      * @param array  $properties
263 263
      * @param string $annotation
264 264
      *
265
-     * @return string
265
+     * @return boolean
266 266
      */
267 267
     private function isUniqueAnnotation($properties, $annotation)
268 268
     {
Please login to merge, or discard this patch.
Mapping/DocumentParser.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      *
135 135
      * @param \ReflectionProperty $property
136 136
      *
137
-     * @return Property|object|null
137
+     * @return \ReflectionProperty
138 138
      */
139 139
     private function getPropertyAnnotationData(\ReflectionProperty $property)
140 140
     {
@@ -325,6 +325,7 @@  discard block
 block discarded – undo
325 325
      *
326 326
      * @param \ReflectionClass $reflectionClass
327 327
      * @param string           $property
328
+     * @param string|null $propertyType
328 329
      *
329 330
      * @return array
330 331
      */
Please login to merge, or discard this patch.
Profiler/ElasticsearchProfiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     /**
89 89
      * Returns total time queries took.
90 90
      *
91
-     * @return string
91
+     * @return double
92 92
      */
93 93
     public function getTime()
94 94
     {
Please login to merge, or discard this patch.
Service/IndexService.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param array      $criteria   Example: ['group' => ['best', 'worst'], 'job' => 'medic'].
188 188
      * @param array|null $orderBy    Example: ['name' => 'ASC', 'surname' => 'DESC'].
189
-     * @param int|null   $limit      Default is 10.
190
-     * @param int|null   $offset     Default is 0.
189
+     * @param integer   $limit      Default is 10.
190
+     * @param integer   $offset     Default is 0.
191 191
      *
192 192
      * @return array|DocumentIterator The objects.
193 193
      */
@@ -240,6 +240,9 @@  discard block
 block discarded – undo
240 240
         return new Search();
241 241
     }
242 242
 
243
+    /**
244
+     * @param string $scrollDuration
245
+     */
243 246
     public function getScrollConfiguration($raw, $scrollDuration): array
244 247
     {
245 248
         $scrollConfig = [];
@@ -478,6 +481,10 @@  discard block
 block discarded – undo
478 481
         return $this->getClient()->indices()->clearCache(['index' => $this->getIndexName()]);
479 482
     }
480 483
 
484
+    /**
485
+     * @param string $action
486
+     * @param string $name
487
+     */
481 488
     private function stopwatch($action, $name): void
482 489
     {
483 490
         if ($this->stopwatch && ($action == 'start' || $action == 'stop')) {
Please login to merge, or discard this patch.
Result/Converter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * Converts raw array to document.
42 42
      *
43
-     * @param array $rawData
43
+     * @param callable $rawData
44 44
      * @param Manager $manager
45 45
      *
46 46
      * @return object
Please login to merge, or discard this patch.