ReviewOS

also looking at this

meemalabs/meema-client-php

Collection response

#52
Merged glennmichael123 wants to merge collection-response into main
11 files +3638 -3582

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

src/Client.phpmodified+1-1
Changes to src/Client.php
@@ -149,7 +149,7 @@ class Client
149149 }
150150
151151 /**
152 * Get the client config
152 * Get the client config.
153153 *
154154 * @return array
155155 */
src/Traits/CollectionsResponse.phpmodified+2-2
Changes to src/Traits/CollectionsResponse.php
@@ -5,10 +5,10 @@ namespace Meema\MeemaApi\Traits;
55trait CollectionsResponse
66{
77 /**
8 * Convert response to collection or array
8 * Convert response to collection or array.
99 *
1010 * @return \Illuminate\Support\Collection|array
11 */
11 */
1212 public function toCollection($response)
1313 {
1414 $clientConfig = $this->client->getConfig();