@@ -222,7 +222,7 @@ |
||
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | /** |
| 225 | - * @return bool |
|
| 225 | + * @return FieldRelation |
|
| 226 | 226 | */ |
| 227 | 227 | public function isRelation() |
| 228 | 228 | { |
@@ -1,11 +1,9 @@ |
||
| 1 | 1 | <?php namespace Mascame\Artificer\Model; |
| 2 | 2 | |
| 3 | -use Illuminate\Contracts\Database\ModelIdentifier; |
|
| 4 | 3 | use View; |
| 5 | 4 | use Route; |
| 6 | 5 | use \Illuminate\Support\Str as Str; |
| 7 | 6 | use Mascame\Artificer\Options\AdminOption; |
| 8 | -use Mascame\Artificer\Options\ModelOption; |
|
| 9 | 7 | |
| 10 | 8 | // Todo: get column type http://stackoverflow.com/questions/18562684/how-to-get-database-field-type-in-laravel |
| 11 | 9 | class Model |