Completed
Pull Request — master (#502)
by Martynas
06:15
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
      *
285 285
      * @param array $params Parameters that will be passed to the flush or refresh queries.
286 286
      *
287
-     * @return null|array
287
+     * @return callable|null
288 288
      */
289 289
     public function commit(array $params = [])
290 290
     {
Please login to merge, or discard this patch.
Service/Repository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@
 block discarded – undo
359 359
     /**
360 360
      * Parses raw result.
361 361
      *
362
-     * @param array  $raw
362
+     * @param callable  $raw
363 363
      * @param string $resultsType
364 364
      * @param string $scrollDuration
365 365
      *
Please login to merge, or discard this patch.
Result/Converter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Converts raw array to document.
40 40
      *
41
-     * @param array      $rawData
41
+     * @param callable      $rawData
42 42
      * @param Repository $repository
43 43
      *
44 44
      * @return DocumentInterface
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * @param \ReflectionClass $object
81 81
      * @param array            $aliases
82 82
      *
83
-     * @return object
83
+     * @return \ReflectionClass
84 84
      */
85 85
     public function assignArrayToObject(array $array, $object, array $aliases)
86 86
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Converts object to an array.
131 131
      *
132
-     * @param mixed $object
132
+     * @param DocumentInterface $object
133 133
      * @param array $aliases
134 134
      *
135 135
      * @return array
Please login to merge, or discard this patch.