Completed
Branch master (443a84)
by recca
04:15
created
src/CollectionRepository.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@  discard block
 block discarded – undo
44 44
      * @method get
45 45
      *
46 46
      * @param \Recca0120\Repository\Criteria|array $criteria
47
-     * @param array                                $orderBy
48 47
      * @param int                                  $limit
49 48
      * @param int                                  $offset
50 49
      *
@@ -168,7 +167,7 @@  discard block
 block discarded – undo
168 167
      * @param array $attributes
169 168
      * @param bool  $forceFill
170 169
      *
171
-     * @return mixed
170
+     * @return Fluent
172 171
      */
173 172
     public function create($attributes, $forceFill = false)
174 173
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Recca0120\Repository;
4 4
 
5
-use Illuminate\Support\Fluent;
6
-use Illuminate\Support\Collection;
7
-use Illuminate\Pagination\Paginator;
8 5
 use Illuminate\Pagination\LengthAwarePaginator;
6
+use Illuminate\Pagination\Paginator;
7
+use Illuminate\Support\Collection;
8
+use Illuminate\Support\Fluent;
9 9
 use Recca0120\Repository\Compilers\CollectionCompiler;
10 10
 
11 11
 class CollectionRepository extends AbstractRepository
Please login to merge, or discard this patch.
src/Criteria.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @method push
54 54
      *
55
-     * @param \Recca0120\Repository\Core\Action $action
55
+     * @param Action $action
56 56
      *
57 57
      * @return self
58 58
      */
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param mixed $value
91 91
      *
92
-     * @return \Recca0120\Repository\CriteriaExpression
92
+     * @return Expression
93 93
      */
94 94
     public static function expr($value)
95 95
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Recca0120\Repository;
4 4
 
5
-use ReflectionClass;
6 5
 use BadMethodCallException;
7 6
 use Recca0120\Repository\Helper\Action;
7
+use ReflectionClass;
8 8
 
9 9
 class Criteria
10 10
 {
Please login to merge, or discard this patch.
src/DeprecatedMethod.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,6 @@  discard block
 block discarded – undo
58 58
      * @method findBy
59 59
      *
60 60
      * @param \Recca0120\Repository\Criteria|array $criteria
61
-     * @param array                                $orderBy
62 61
      * @param int                                  $limit
63 62
      * @param int                                  $offset
64 63
      *
@@ -160,6 +159,7 @@  discard block
 block discarded – undo
160 159
      * deprecated.
161 160
      *
162 161
      * @method deprecated
162
+     * @param string $method
163 163
      */
164 164
     protected function deprecated($method)
165 165
     {
Please login to merge, or discard this patch.
src/EloquentRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
      * @method get
33 33
      *
34 34
      * @param \Recca0120\Repository\Criteria|array $criteria
35
-     * @param array                                $orderBy
36 35
      * @param int                                  $limit
37 36
      * @param int                                  $offset
38 37
      *
Please login to merge, or discard this patch.