Test Setup Failed
Push — master ( 71d412...b2448d )
by Jonathan
06:31 queued 03:22
created
src/Hydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
      */
44 44
     private function populateData(string $key, $value)
45 45
     {
46
-        if (! property_exists($this->object, $key)) {
46
+        if (!property_exists($this->object, $key)) {
47 47
             return;
48 48
         }
49 49
 
50
-        if (! $this->isPublic($key)) {
50
+        if (!$this->isPublic($key)) {
51 51
             throw HydratorException::cannotPopulateNonPublicProperty($key);
52 52
         }
53 53
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         }
76 76
 
77 77
         if ($dataType === 'bool') {
78
-            return ! empty($value);
78
+            return !empty($value);
79 79
         }
80 80
 
81 81
         if ($dataType === 'float') {
Please login to merge, or discard this patch.