Completed
Branch master (5c3c75)
by Nil
06:14
created
src/Infrastructure/Model/Repository/EloquentMongoDB/EloquentRepository.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Retrieves an entity by its id.
35 35
      *
36
-     * @param Identity|Model $id
36
+     * @param Identity $id
37 37
      * @param Fields|null    $fields
38 38
      *
39 39
      * @return array
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Returns whether an entity with the given id exists.
101 101
      *
102
-     * @param Identity|Model $id
102
+     * @param Identity $id
103 103
      *
104 104
      * @return bool
105 105
      */
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Adds a new entity to the storage.
135 135
      *
136
-     * @param Identity|Model $value
136
+     * @param Identity $value
137 137
      *
138
-     * @return mixed
138
+     * @return Identity
139 139
      */
140 140
     public function add(Identity $value)
141 141
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Removes the entity with the given id.
185 185
      *
186
-     * @param Identity|Model $id
186
+     * @param Identity $id
187 187
      *
188 188
      * @return bool
189 189
      */
Please login to merge, or discard this patch.
example/example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 $capsule = new Capsule();
18 18
 
19 19
 //Adds MongoDb support.
20
-$capsule->getDatabaseManager()->extend('mongodb', function ($config) {
20
+$capsule->getDatabaseManager()->extend('mongodb', function($config) {
21 21
     return new Jenssegers\Mongodb\Connection($config);
22 22
 });
23 23
 
Please login to merge, or discard this patch.
src/Infrastructure/Model/Repository/EloquentMongoDB/EloquentFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     private static function removeEmptyFilters(array $filters)
58 58
     {
59
-        $filters = array_filter($filters, function ($v) {
59
+        $filters = array_filter($filters, function($v) {
60 60
             return count($v) > 0;
61 61
         });
62 62
 
Please login to merge, or discard this patch.