@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Display a listing of all widgets |
| 17 | 17 | * |
| 18 | - * @return \Illuminate\Http\Response |
|
| 18 | + * @return \Illuminate\Database\Eloquent\Collection |
|
| 19 | 19 | */ |
| 20 | 20 | public function index(Request $request) |
| 21 | 21 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | // ---- Define Relationships ---- |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @return \Illuminate\Database\Eloquent\Relations\HasOne |
|
| 67 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 68 | 68 | */ |
| 69 | 69 | public function user() |
| 70 | 70 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * @return \Illuminate\Database\Eloquent\Relations\HasOne |
|
| 83 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 84 | 84 | */ |
| 85 | 85 | public function dashboard() |
| 86 | 86 | { |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * Or when the user is not a global admin. |
| 186 | 186 | * |
| 187 | 187 | * @param string $key The path to check |
| 188 | - * @return bool|string false or the source: config | auth |
|
| 188 | + * @return string|false false or the source: config | auth |
|
| 189 | 189 | */ |
| 190 | 190 | public function isReadOnly($key) |
| 191 | 191 | { |