@@ -3,13 +3,13 @@ |
||
3 | 3 | namespace Yoeunes\Commentable; |
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | -use Yoeunes\Commentable\Models\Comment; |
|
7 | -use Yoeunes\Commentable\Traits\Commentable; |
|
8 | -use Yoeunes\Commentable\Exceptions\EmptyUser; |
|
9 | 6 | use Illuminate\Database\Eloquent\Relations\Relation; |
10 | -use Yoeunes\Commentable\Exceptions\UserDoestNotHaveID; |
|
11 | 7 | use Yoeunes\Commentable\Exceptions\CommentableModelNotFound; |
8 | +use Yoeunes\Commentable\Exceptions\EmptyUser; |
|
12 | 9 | use Yoeunes\Commentable\Exceptions\ModelDoesNotUseCommentableTrait; |
10 | +use Yoeunes\Commentable\Exceptions\UserDoestNotHaveID; |
|
11 | +use Yoeunes\Commentable\Models\Comment; |
|
12 | +use Yoeunes\Commentable\Traits\Commentable; |
|
13 | 13 | |
14 | 14 | class CommentBuilder |
15 | 15 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Yoeunes\Commentable\Traits; |
4 | 4 | |
5 | -use Yoeunes\Commentable\CommentBuilder; |
|
6 | 5 | use Illuminate\Database\Eloquent\Builder; |
6 | +use Illuminate\Database\Eloquent\Relations\Relation; |
|
7 | 7 | use Illuminate\Database\Query\JoinClause; |
8 | +use Yoeunes\Commentable\CommentBuilder; |
|
8 | 9 | use Yoeunes\Commentable\CommentQueryBuilder; |
9 | -use Illuminate\Database\Eloquent\Relations\Relation; |
|
10 | 10 | |
11 | 11 | trait Commentable |
12 | 12 | { |