@@ -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 | */ |
@@ -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 |
@@ -192,7 +192,7 @@ |
||
192 | 192 | public function newCassandraCollection($rows) |
193 | 193 | { |
194 | 194 | if (!is_array($rows) && !$rows instanceof Rows) { |
195 | - throw new \Exception('Wrong type to create collection');//TODO: customize error |
|
195 | + throw new \Exception('Wrong type to create collection'); //TODO: customize error |
|
196 | 196 | } |
197 | 197 | |
198 | 198 | $items = []; |
@@ -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 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | */ |
89 | 89 | protected function getPort(array $config) |
90 | 90 | { |
91 | - return !empty($config['port']) ? (int)$config['port'] : 9042; |
|
91 | + return !empty($config['port']) ? (int) $config['port'] : 9042; |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |