Passed
Pull Request — develop (#110)
by
unknown
15:14
created
src/Client.php 1 patch
Indentation   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-
57 56
      */
58 57
     public function classPasses(): ClassPasses
59 58
     {
@@ -66,16 +65,14 @@  discard block
 block discarded – undo
66 65
     {
67 66
         return new Events($this->transporter);
68 67
     }
69
-   /**
70
-
71
-    */
68
+    /**
69
+     */
72 70
     public function locations(): Locations
73 71
     {
74 72
         return new Locations($this->transporter);
75 73
     }
76 74
 /**
77
-
78
- */
75
+     */
79 76
     public function tickets(): Tickets
80 77
     {
81 78
         return new Tickets($this->transporter);
Please login to merge, or discard this patch.
src/Resources/Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         /** @var array{id: string, object: string, created_at: int, bytes: int, filename: string, purpose: string, status: string, status_details: array<array-key, mixed>|string|null} $result */
41 41
         $result = $this->transporter->requestObject($payload);
42 42
 
43
-        if(!array_key_exists('included', $result)) {
43
+        if (!array_key_exists('included', $result)) {
44 44
             return RetrieveResponse::from($result['data']);
45 45
         } else {
46 46
             return RetrieveResponse::from($result['data'], $result['included']);
Please login to merge, or discard this patch.
src/Responses/Events/RetrieveResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         if (!empty($included)) {
90 90
             foreach ($included as $includedData) {
91
-                if($includedData['type'] === 'location' && $includedData['id'] = $location->id) {
91
+                if ($includedData['type'] === 'location' && $includedData['id'] = $location->id) {
92 92
                     $location = LocationsRetrieveResponse::from($includedData);
93 93
                 }
94 94
             }
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         $client = $this->httpClient ??= Psr18ClientDiscovery::find();
102 102
 
103
-       // $sendAsync = $this->makeStreamHandler($client);
103
+        // $sendAsync = $this->makeStreamHandler($client);
104 104
 
105 105
         $transporter = new HttpTransporter($client, $baseUri, $headers, $queryParams);
106 106
 
Please login to merge, or discard this patch.
src/ValueObjects/Transporter/Payload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
         $uri = $baseUri->toString() . $this->uri->toString();
134 134
 
135
-        if (! empty($this->parameters)) {
135
+        if (!empty($this->parameters)) {
136 136
             $uri .= '?' . http_build_query($this->parameters);
137 137
         }
138 138
 
Please login to merge, or discard this patch.