Completed
Push — master ( c2ffb2...033042 )
by Melech
05:02
created
src/Valkyrja/ORM/Entities/EntityTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         // Iterate through the properties
177 177
         foreach ($properties as $property => $value) {
178 178
             if (property_exists($this, $property)) {
179
-                if (! isset(static::$originalProperties[$property])) {
179
+                if (!isset(static::$originalProperties[$property])) {
180 180
                     static::$originalProperties[$property] = $value;
181 181
                 }
182 182
 
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
         $type = $propertyTypes[$property] ?? null;
265 265
 
266 266
         // If there is no type specified just return the value
267
-        if (null === $type || ! is_string($value)) {
267
+        if (null === $type || !is_string($value)) {
268 268
             return $value;
269 269
         }
270 270
 
Please login to merge, or discard this patch.
src/Valkyrja/Support/Model/Traits/ModelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         foreach ($properties as $property => $value) {
129 129
             // Ensure the property exists before blindly setting
130 130
             if (property_exists($this, $property)) {
131
-                if (! isset(static::$originalProperties[$property])) {
131
+                if (!isset(static::$originalProperties[$property])) {
132 132
                     static::$originalProperties[$property] = $value;
133 133
                 }
134 134
 
Please login to merge, or discard this patch.