Completed
Branch master (63a0d3)
by Nil
03:16
created
src/Infrastructure/Model/Repository/Eloquent/EloquentRepository.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Retrieves an entity by its id.
36 36
      *
37
-     * @param Identity|Model $id
37
+     * @param Identity $id
38 38
      * @param Fields|null    $fields
39 39
      *
40 40
      * @return array
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * Returns whether an entity with the given id exists.
102 102
      *
103
-     * @param Identity|Model $id
103
+     * @param Identity $id
104 104
      *
105 105
      * @return bool
106 106
      */
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Adds a new entity to the storage.
138 138
      *
139
-     * @param Identity|Model $value
139
+     * @param Identity $value
140 140
      *
141
-     * @return mixed
141
+     * @return Identity
142 142
      */
143 143
     public function add(Identity $value)
144 144
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Removes the entity with the given id.
189 189
      *
190
-     * @param Identity|Model $id
190
+     * @param Identity $id
191 191
      *
192 192
      * @return bool
193 193
      */
Please login to merge, or discard this patch.
src/Infrastructure/Model/Repository/Eloquent/EloquentFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     private static function removeEmptyFilters(array $filters)
44 44
     {
45
-        $filters = array_filter($filters, function ($v) {
45
+        $filters = array_filter($filters, function($v) {
46 46
             return count($v) > 0;
47 47
         });
48 48
 
Please login to merge, or discard this patch.