Test Failed
Push — master ( 7c4720...fd955c )
by Lyal
04:00 queued 14s
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -209,11 +209,11 @@
 block discarded – undo
209 209
     {
210 210
         $body = '';
211 211
         $options = array_merge($this->getOptions(), $options);
212
-        $options['auth'] = [$this->getKey() . ':', ''];
212
+        $options['auth'] = [$this->getKey().':', ''];
213 213
         try {
214
-            $response = $this->getHttpClient()->request($method, $this->getApiEndPoint() . $path, $options);
214
+            $response = $this->getHttpClient()->request($method, $this->getApiEndPoint().$path, $options);
215 215
             $this->setLastResponse($response);
216
-            $body = json_decode((string)$response->getBody());
216
+            $body = json_decode((string) $response->getBody());
217 217
 
218 218
         } catch (BadResponseException $exception) {
219 219
             $this->handleError($exception);
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) : void
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.