Completed
Push — master ( 11944e...9eabc1 )
by Younes
03:55 queued 02:13
created
src/VoteBuilder.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Yoeunes\Voteable;
4 4
 
5
-use Yoeunes\Voteable\Models\Vote;
6
-use Yoeunes\Voteable\Traits\Voteable;
7 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Database\Eloquent\Relations\Relation;
8 7
 use Yoeunes\Voteable\Exceptions\EmptyUser;
8
+use Yoeunes\Voteable\Exceptions\ModelDoesNotUseVoteableTrait;
9 9
 use Yoeunes\Voteable\Exceptions\UserDoestNotHaveID;
10
-use Illuminate\Database\Eloquent\Relations\Relation;
11 10
 use Yoeunes\Voteable\Exceptions\VoteableModelNotFound;
12
-use Yoeunes\Voteable\Exceptions\ModelDoesNotUseVoteableTrait;
11
+use Yoeunes\Voteable\Models\Vote;
12
+use Yoeunes\Voteable\Traits\Voteable;
13 13
 
14 14
 class VoteBuilder
15 15
 {
Please login to merge, or discard this patch.
src/Traits/Voteable.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,6 @@
 block discarded – undo
92 92
     /**
93 93
      * @param Builder $query
94 94
      * @param string $direction
95
-     * @param string $type
96 95
      *
97 96
      * @return Builder
98 97
      */
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Yoeunes\Voteable\Traits;
4 4
 
5
+use Illuminate\Database\Eloquent\Builder;
6
+use Illuminate\Database\Eloquent\Relations\Relation;
7
+use Illuminate\Database\Query\JoinClause;
8
+use Illuminate\Support\Facades\DB;
5 9
 use Yoeunes\Voteable\Models\Vote;
6 10
 use Yoeunes\Voteable\VoteBuilder;
7
-use Illuminate\Support\Facades\DB;
8 11
 use Yoeunes\Voteable\VoteQueryBuilder;
9
-use Illuminate\Database\Eloquent\Builder;
10
-use Illuminate\Database\Query\JoinClause;
11
-use Illuminate\Database\Eloquent\Relations\Relation;
12 12
 
13 13
 trait Voteable
14 14
 {
Please login to merge, or discard this patch.