Completed
Branch master (cdabe7)
by Vladislav
13:34
created
Category
src/Hydrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace RainbowCat\Hydrator;
4 4
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     protected function validateObject($object)
109 109
     {
110
-        if ( ! is_object($object) || $this->className !== get_class($object) ) {
110
+        if ( ! is_object($object) || $this->className !== get_class($object)) {
111 111
             throw new InvalidArgumentException(sprintf('Argument $object must be an instance of %s.', $this->className));
112 112
         }
113 113
     }
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
                 $reflectionProperty->setAccessible(true);
146 146
                 $this->reflectionProperties[$propertyName] = $reflectionProperty;
147 147
                 
148
-                $propertySetterName = 'set'. $ucPropertyName;
149
-                $propertyGetterName = 'get'. $ucPropertyName;
148
+                $propertySetterName = 'set'.$ucPropertyName;
149
+                $propertyGetterName = 'get'.$ucPropertyName;
150 150
                 
151 151
                 if ($reflectionClass->hasMethod($propertySetterName)) {
152 152
                     $reflectionMethod = $reflectionClass->getMethod($propertySetterName);
Please login to merge, or discard this patch.