Completed
Pull Request — master (#1639)
by Federico
01:40
created
lib/Elastica/Document.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
      *
39 39
      * @param int|string   $id    OPTIONAL $id Id is create if empty
40 40
      * @param array|string $data  OPTIONAL Data array
41
-     * @param Type|string  $type  OPTIONAL Type name
42
-     * @param Index|string $index OPTIONAL Index name
41
+     * @param string  $type  OPTIONAL Type name
42
+     * @param Index $index OPTIONAL Index name
43 43
      */
44 44
     public function __construct($id = '', $data = [], $type = '', $index = '')
45 45
     {
Please login to merge, or discard this patch.
lib/Elastica/Pipeline.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
      * the an array out of the class name (last part of the class name)
193 193
      * and the params.
194 194
      *
195
-     * @return array Filter array
195
+     * @return string Filter array
196 196
      */
197 197
     public function toArray()
198 198
     {
Please login to merge, or discard this patch.