Passed
Push — master ( 6b3321...31fbf3 )
by Zeeshan
03:06
created
src/Scream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public function __get($propertyName) {
25 25
         $this->propertyName = $propertyName;
26 26
 
27
-        if(!property_exists($this, $propertyName)) {
27
+        if (!property_exists($this, $propertyName)) {
28 28
             throw new UndefinedPropertyException($this->getError("get"));
29 29
         }
30 30
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function __set($propertyName, $value) {
43 43
         $this->propertyName = $propertyName;
44 44
         
45
-        if(!property_exists($this, $propertyName)) {
45
+        if (!property_exists($this, $propertyName)) {
46 46
             throw new UndefinedPropertyException($this->getError("set"));
47 47
         }   
48 48
     }
Please login to merge, or discard this patch.