Completed
Branch master (09494e)
by Woody
19:47
created
src/DiffableInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
     /**
8 8
      * Find the difference between existing object values
9 9
      *
10
-     * @param array $changes
11 10
      *
12 11
      * @return array
13 12
      */
Please login to merge, or discard this patch.
src/Traits/ImmutableValueObjectTrait.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,6 @@
 block discarded – undo
200 200
      * Protects against the object being modified
201 201
      *
202 202
      * @param string $key
203
-     * @param mixed  $value
204 203
      *
205 204
      * @return void
206 205
      *
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $data = array_intersect_key($data, get_object_vars($this));
97 97
 
98 98
         // Type coercion and class expectations are not run on null values
99
-        $values = array_filter($data, static function ($value) {
99
+        $values = array_filter($data, static function($value) {
100 100
             return null !== $value;
101 101
         });
102 102
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function toArray()
145 145
     {
146
-        return array_map(static function ($value) {
146
+        return array_map(static function($value) {
147 147
             if ($value instanceof ArraySerializableInterface) {
148 148
                 $value = $value->toArray();
149 149
             }
Please login to merge, or discard this patch.