@@ -189,7 +189,7 @@ |
||
189 | 189 | |
190 | 190 | /** |
191 | 191 | * @param $model |
192 | - * @return bool |
|
192 | + * @return null|boolean |
|
193 | 193 | */ |
194 | 194 | protected function isCurrent($modelName) |
195 | 195 | { |
@@ -1,10 +1,8 @@ |
||
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 | -use Mascame\Artificer\Options\AdminOption; |
|
8 | 6 | |
9 | 7 | // Todo: get column type http://stackoverflow.com/questions/18562684/how-to-get-database-field-type-in-laravel |
10 | 8 | class Model |