Completed
Push — master ( 20f6ff...6a696f )
by Nicolas
03:14
created
lib/Elastica/Document.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,10 +35,10 @@
 block discarded – undo
35 35
     /**
36 36
      * Creates a new document.
37 37
      *
38
-     * @param int|string   $id    OPTIONAL $id Id is create if empty
38
+     * @param string   $id    OPTIONAL $id Id is create if empty
39 39
      * @param array|string $data  OPTIONAL Data array
40
-     * @param Type|string  $type  OPTIONAL Type name
41
-     * @param Index|string $index OPTIONAL Index name
40
+     * @param string  $type  OPTIONAL Type name
41
+     * @param Index $index OPTIONAL Index name
42 42
      */
43 43
     public function __construct($id = '', $data = [], $type = '', $index = '')
44 44
     {
Please login to merge, or discard this patch.
lib/Elastica/Tool/CrossIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             $types = is_array($types) ? $types : [$types];
132 132
 
133 133
             $types = array_map(
134
-                function ($type) {
134
+                function($type) {
135 135
                     if ($type instanceof Type) {
136 136
                         $type = $type->getName();
137 137
                     }
Please login to merge, or discard this patch.
lib/Elastica/Transport/AbstractTransport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * as string.
66 66
      *
67 67
      * @param string $query
68
-     * @return mixed
68
+     * @return string
69 69
      */
70 70
     public function sanityzeQueryStringBool($query)
71 71
     {
Please login to merge, or discard this patch.