Completed
Branch master (acab90)
by Nil
03:50
created
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.
example/example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 if (!file_exists(__DIR__.'/database.db')) {
27 27
     file_put_contents(__DIR__.'/database.db', '');
28 28
     Capsule::schema()->dropIfExists('users');
29
-    Capsule::schema()->create('users', function (Blueprint $table) {
29
+    Capsule::schema()->create('users', function(Blueprint $table) {
30 30
         $table->string('name', 255);
31 31
         $table->integer('id');
32 32
         $table->primary('id');
Please login to merge, or discard this patch.
src/Infrastructure/Model/Repository/Eloquent/EloquentWriteRepository.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Adds a new entity to the storage.
51 51
      *
52
-     * @param Identity|Model $value
52
+     * @param Identity $value
53 53
      *
54
-     * @return mixed
54
+     * @return Identity
55 55
      */
56 56
     public function add(Identity $value)
57 57
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Adds a collections of entities to the storage.
66 66
      *
67
-     * @param array $values
67
+     * @param Model[] $values
68 68
      *
69 69
      * @return mixed
70 70
      */
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param Filter $filter
98 98
      *
99
-     * @return bool
99
+     * @return boolean|null
100 100
      */
101 101
     public function removeAll(Filter $filter = null)
102 102
     {
Please login to merge, or discard this patch.