@@ -119,13 +119,13 @@ |
||
| 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 |
@@ -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 | |