@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | if ($this->selfSubUrl === null) { |
| 88 | - $this->selfSubUrl = '/' . $this->resourceType . '/'; |
|
| 88 | + $this->selfSubUrl = '/'.$this->resourceType.'/'; |
|
| 89 | 89 | } else { |
| 90 | 90 | $isOk = |
| 91 | 91 | is_string($this->selfSubUrl) === true && |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | */ |
| 125 | 125 | public function getSelfSubLink($resource) |
| 126 | 126 | { |
| 127 | - return new Link($this->selfSubUrl . $this->getId($resource)); |
|
| 127 | + return new Link($this->selfSubUrl.$this->getId($resource)); |
|
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | $links = $this->getValue($description, self::LINKS, []); |
| 251 | 251 | if ($isShowSelf === true && isset($links[LinkInterface::SELF]) === false) { |
| 252 | 252 | $links[LinkInterface::SELF] = $this->factory->createLink( |
| 253 | - DocumentInterface::KEYWORD_RELATIONSHIPS. '/'.$relationshipName |
|
| 253 | + DocumentInterface::KEYWORD_RELATIONSHIPS.'/'.$relationshipName |
|
| 254 | 254 | ); |
| 255 | 255 | } |
| 256 | 256 | if ($isShowRelated === true && isset($links[LinkInterface::RELATED]) === false) { |