Passed
Pull Request — master (#22)
by Vladislav
02:09
created
src/Core/Enums/EnumOutputMode.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,5 +4,5 @@
 block discarded – undo
4 4
 interface EnumOutputMode
5 5
 {
6 6
     const MODE_ENTITY = 0;
7
-   const MODE_JSON = 1;
7
+    const MODE_JSON = 1;
8 8
 }
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
src/Core/Endpoints/Endpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
         $apiData = $curl->exec($this->getEndpointUrl(), $this->parameters->array());
57 57
 
58 58
 
59
-        return (new CurlResponseHandler())->handle($apiData,  $this->getResponseClassnameByCondition($apiData));
59
+        return (new CurlResponseHandler())->handle($apiData, $this->getResponseClassnameByCondition($apiData));
60 60
     }
61 61
 }
62 62
\ No newline at end of file
Please login to merge, or discard this patch.
src/Core/Objects/SuccessResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     protected function draw(array $result, string $responseClassName): AbstractResponse
48 48
     {
49 49
         $collection = new EntityCollection();
50
-        array_walk($result, function ($item) use ($collection, $responseClassName) {
50
+        array_walk($result, function($item) use ($collection, $responseClassName) {
51 51
             if (!empty($item)) {
52 52
                 $collection->push(ResponseDtoBuilder::make($responseClassName, $item));
53 53
             }
Please login to merge, or discard this patch.