Test Setup Failed
Push — testing ( e0bf91...3426ad )
by Roman
02:46
created
src/Eloquent/Builder.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
      *
66 66
      * @param array $columns
67 67
      *
68
-     * @return \Illuminate\Database\Eloquent\Collection|static[]
68
+     * @return \Illuminate\Database\Eloquent\Model[]
69 69
      *
70 70
      * @throws \Exception
71 71
      */
Please login to merge, or discard this patch.
src/Eloquent/Model.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -119,13 +119,13 @@
 block discarded – undo
119 119
         return $column;
120 120
     }
121 121
 
122
-     /**
123
-     * Set a given attribute on the model.
124
-     *
125
-     * @param  string  $key
126
-     * @param  mixed  $value
127
-     * @return $this
128
-     */
122
+        /**
123
+         * Set a given attribute on the model.
124
+         *
125
+         * @param  string  $key
126
+         * @param  mixed  $value
127
+         * @return $this
128
+         */
129 129
     public function setAttribute($key, $value)
130 130
     {
131 131
         // First we will check for the presence of a mutator for the set operation
Please login to merge, or discard this patch.
src/Connection.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -347,8 +347,8 @@
 block discarded – undo
347 347
      * @param string $query
348 348
      * @param array $bindings
349 349
      * @param array $customOptions
350
-     * @param mixed $defaultFailed
351
-     * @param mixed $defaultSuccess
350
+     * @param integer $defaultFailed
351
+     * @param integer $defaultSuccess
352 352
      *
353 353
      * @return mixed
354 354
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 $contactPoints = explode(',', $contactPoints);
140 140
             }
141 141
 
142
-            call_user_func_array([$cluster, 'withContactPoints'], (array)$contactPoints);
142
+            call_user_func_array([$cluster, 'withContactPoints'], (array) $contactPoints);
143 143
         }
144 144
     }
145 145
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     protected function setContactPort(\Cassandra\Cluster\Builder $cluster)
152 152
     {
153 153
         if (!empty($this->config['port'])) {
154
-            $cluster->withPort((int)$this->config['port']);
154
+            $cluster->withPort((int) $this->config['port']);
155 155
         }
156 156
     }
157 157
 
Please login to merge, or discard this patch.