Test Failed
Push — master ( 6bff04...e0da10 )
by Lyal
02:14
created
src/Traits/Deleteable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function getDeletePath()
23 23
     {
24
-        return $this->deletePath ?? $this->getResourceName() . '/' . $this->getAttribute('id');
24
+        return $this->deletePath ?? $this->getResourceName().'/'.$this->getAttribute('id');
25 25
     }
26 26
 
27 27
     public function setDeletePath($path)
Please login to merge, or discard this patch.
src/Entities/AbstractEntity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     public function setPreviousObject(AbstractEntity $object)
49 49
     {
50
-        $objectId = strtolower((new \ReflectionClass($object))->getShortName()) . '_id';
50
+        $objectId = strtolower((new \ReflectionClass($object))->getShortName()).'_id';
51 51
         if (null !== $object->getAttribute('id') && $this->checkField($objectId)) {
52 52
             $this->setAttribute($objectId, $object->getAttribute('id'));
53 53
         }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             return;
72 72
         }
73 73
 
74
-        foreach ((array)$values as $key => $value) {
74
+        foreach ((array) $values as $key => $value) {
75 75
             if (isset($value->object)) {
76 76
                 $className = checkrEntityClassName($value->object);
77 77
                 $value = new $className($value, $this->getClient());
Please login to merge, or discard this patch.