Passed
Pull Request — master (#111)
by Adam
01:36
created
src/Response/GenericResponse.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
     public function getLink(string $name)
18 18
     {
19 19
         if (!property_exists($this, 'links')) {
20
-            throw new NoLinkedResourceException('No linked resources for ' . get_called_class());
20
+            throw new NoLinkedResourceException('No linked resources for '.get_called_class());
21 21
         } elseif (!property_exists($this->links, $name)) {
22
-            throw new LinkedResourceNotFoundException('No property exists for ' . $name . '. Available links are ' . implode(' ', array_keys(get_object_vars($this->links))));
22
+            throw new LinkedResourceNotFoundException('No property exists for '.$name.'. Available links are '.implode(' ', array_keys(get_object_vars($this->links))));
23 23
         } elseif (!property_exists($this->links->$name, 'href')) {
24
-            throw new LinkedResourceNotFoundException('href property not found on ' . $name);
24
+            throw new LinkedResourceNotFoundException('href property not found on '.$name);
25 25
         }
26 26
         return ['type' => $name, 'path' => $this->links->$name->href];
27 27
     }
Please login to merge, or discard this patch.
src/Endpoints/CloudApiBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,6 +141,6 @@
 block discarded – undo
141 141
             break;
142 142
         }
143 143
 
144
-        throw new LinkedResourceNotImplementedException($link['type'] . ' link not implemented in this SDK. Please file an issue here: https://github.com/typhonius/acquia-php-sdk-v2/issues');
144
+        throw new LinkedResourceNotImplementedException($link['type'].' link not implemented in this SDK. Please file an issue here: https://github.com/typhonius/acquia-php-sdk-v2/issues');
145 145
     }
146 146
 }
Please login to merge, or discard this patch.