Completed
Branch master (fe6485)
by Nil
02:01
created
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.
Infrastructure/Model/Repository/EloquentMongoDB/EloquentReadRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @param $id
98 98
      *
99
-     * @return bool
99
+     * @return boolean|null
100 100
      */
101 101
     public function exists(Identity $id)
102 102
     {
Please login to merge, or discard this patch.
Infrastructure/Model/Repository/EloquentMongoDB/EloquentWriteRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param Identity $value
49 49
      *
50
-     * @return mixed
50
+     * @return Identity
51 51
      */
52 52
     public function add(Identity $value)
53 53
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Adds a collections of entities to the storage.
62 62
      *
63
-     * @param array $values
63
+     * @param \Jenssegers\Mongodb\Eloquent\Model[] $values
64 64
      *
65 65
      * @return mixed
66 66
      *
Please login to merge, or discard this patch.