@@ -21,7 +21,7 @@ |
||
| 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) |
@@ -47,7 +47,7 @@ discard block |
||
| 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 |
||
| 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()); |