@@ -44,7 +44,7 @@ |
||
| 44 | 44 | /** |
| 45 | 45 | * Define a relationship. |
| 46 | 46 | * |
| 47 | - * @return mixed |
|
| 47 | + * @return \Magister\Services\Database\Elegant\Relations\HasMany |
|
| 48 | 48 | */ |
| 49 | 49 | public function counsellors() |
| 50 | 50 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * Determine if the user matches the credentials. |
| 155 | 155 | * |
| 156 | - * @param mixed $user |
|
| 156 | + * @param \Magister\Services\Database\Elegant\Model|null $user |
|
| 157 | 157 | * |
| 158 | 158 | * @return bool |
| 159 | 159 | */ |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | /** |
| 287 | 287 | * Return the currently cached user. |
| 288 | 288 | * |
| 289 | - * @return mixed|null |
|
| 289 | + * @return UserContract |
|
| 290 | 290 | */ |
| 291 | 291 | public function getUser() |
| 292 | 292 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * Register a service as a singleton. |
| 37 | 37 | * |
| 38 | 38 | * @param string $abstract |
| 39 | - * @param mixed $concrete |
|
| 39 | + * @param Closure $concrete |
|
| 40 | 40 | * |
| 41 | 41 | * @return void |
| 42 | 42 | */ |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | * |
| 210 | 210 | * @param string $abstract |
| 211 | 211 | * |
| 212 | - * @return bool |
|
| 212 | + * @return boolean|null |
|
| 213 | 213 | */ |
| 214 | 214 | public function __isset($abstract) |
| 215 | 215 | { |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | * |
| 259 | 259 | * @param string $abstract |
| 260 | 260 | * |
| 261 | - * @return bool |
|
| 261 | + * @return boolean|null |
|
| 262 | 262 | */ |
| 263 | 263 | public function offsetExists($abstract) |
| 264 | 264 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * @param string $column |
| 73 | 73 | * @param string $key |
| 74 | 74 | * |
| 75 | - * @return array |
|
| 75 | + * @return Collection |
|
| 76 | 76 | */ |
| 77 | 77 | public function lists($column, $key = null) |
| 78 | 78 | { |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | * |
| 201 | 201 | * @throws \BadMethodCallException |
| 202 | 202 | * |
| 203 | - * @return mixed |
|
| 203 | + * @return Builder |
|
| 204 | 204 | */ |
| 205 | 205 | public function __call($method, $parameters) |
| 206 | 206 | { |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | /** |
| 156 | 156 | * Create a class based listener using the IoC container. |
| 157 | 157 | * |
| 158 | - * @param mixed $listener |
|
| 158 | + * @param string $listener |
|
| 159 | 159 | * |
| 160 | 160 | * @return \Closure |
| 161 | 161 | */ |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | /** |
| 203 | 203 | * Remove an item from the collection by key. |
| 204 | 204 | * |
| 205 | - * @param mixed $key |
|
| 205 | + * @param string $key |
|
| 206 | 206 | * |
| 207 | 207 | * @return void |
| 208 | 208 | */ |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * @param string $column |
| 90 | 90 | * @param string $key |
| 91 | 91 | * |
| 92 | - * @return array |
|
| 92 | + * @return \Magister\Services\Support\Collection |
|
| 93 | 93 | */ |
| 94 | 94 | public function lists($column, $key = null) |
| 95 | 95 | { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * @param string $method |
| 167 | 167 | * @param array $parameters |
| 168 | 168 | * |
| 169 | - * @return mixed |
|
| 169 | + * @return Builder |
|
| 170 | 170 | */ |
| 171 | 171 | public function __call($method, $parameters) |
| 172 | 172 | { |
@@ -562,7 +562,7 @@ |
||
| 562 | 562 | * |
| 563 | 563 | * @throws \RuntimeException |
| 564 | 564 | * |
| 565 | - * @return void |
|
| 565 | + * @return string |
|
| 566 | 566 | */ |
| 567 | 567 | public function getUrl() |
| 568 | 568 | { |