@@ -65,7 +65,7 @@ |
||
| 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 | */ |
@@ -347,8 +347,8 @@ |
||
| 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 | */ |
@@ -139,7 +139,7 @@ discard block |
||
| 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 |
||
| 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 | |