Completed
Push — master ( 33a06d...f86d78 )
by Jelle
02:43
created
src/Entity/Entity.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
           $this->_raw->{$prop} = $val;
48 48
           if (method_exists($val, 'raw')) {
49 49
             $this->_raw->{$prop} = $val->raw();
50
-          }
51
-          elseif (is_array($val)) {
50
+          } elseif (is_array($val)) {
52 51
             $this->_raw->{$prop} = array();
53 52
             foreach ($val as $v) {
54 53
               $this->_raw->{$prop}[] = method_exists($v, 'raw') ? $v->raw() : $v;
Please login to merge, or discard this patch.
src/Entity/Proxy/Proxy.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
           $this->_raw->{$prop} = $val;
48 48
           if (method_exists($val, 'raw')) {
49 49
             $this->_raw->{$prop} = $val->raw();
50
-          }
51
-          elseif (is_array($val)) {
50
+          } elseif (is_array($val)) {
52 51
             $this->_raw->{$prop} = array();
53 52
             foreach ($val as $v) {
54 53
               $this->_raw->{$prop}[] = method_exists($v, 'raw') ? $v->raw() : $v;
Please login to merge, or discard this patch.