also looking at this
initialize progress
#1
17 files
+581
-48
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.
| @@ -17,7 +17,6 @@ class Client formatting only | ||
| 17 | 17 | */ |
| 18 | 18 | public $folders; |
| 19 | 19 | |
| 20 | ||
| 21 | 20 | /** |
| 22 | 21 | * @var string |
| 23 | 22 | */ |
| @@ -70,7 +69,7 @@ class Client | ||
| 70 | 69 | } |
| 71 | 70 | |
| 72 | 71 | /** |
| 73 | * Get the access key | |
| 72 | * Get the access key. | |
| 74 | 73 | * |
| 75 | 74 | * @return string |
| 76 | 75 | */ |
| @@ -80,7 +79,7 @@ class Client | ||
| 80 | 79 | } |
| 81 | 80 | |
| 82 | 81 | /** |
| 83 | * Initialize the folder model | |
| 82 | * Initialize the folder model. | |
| 84 | 83 | * |
| 85 | 84 | * @return Meema\MeemaApi\Models\Folder |
| 86 | 85 | */ |
| @@ -5,14 +5,14 @@ namespace Meema\MeemaApi\Models; | ||
| 5 | 5 | use Meema\MeemaApi\Client; |
| 6 | 6 | |
| 7 | 7 | class Folder |
| 8 | { | |
| 8 | { | |
| 9 | 9 | /** |
| 10 | 10 | * @var Meema\MeemaApi\Client |
| 11 | 11 | */ |
| 12 | 12 | public $client; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | * @var int $id | |
| 15 | * @var int | |
| 16 | 16 | */ |
| 17 | 17 | public $id; |
| 18 | 18 | |
| @@ -42,7 +42,7 @@ class Folder formatting only | ||
| 42 | 42 | * Create folder. |
| 43 | 43 | * |
| 44 | 44 | * @param string $name |
| 45 | * | |
| 45 | * | |
| 46 | 46 | * @return array |
| 47 | 47 | */ |
| 48 | 48 | public function create($name): array |
| @@ -55,7 +55,7 @@ class Folder formatting only | ||
| 55 | 55 | * |
| 56 | 56 | * @param int $id |
| 57 | 57 | * @param string $name |
| 58 | * | |
| 58 | * | |
| 59 | 59 | * @return array |
| 60 | 60 | */ |
| 61 | 61 | public function update($name): array |
| @@ -67,7 +67,7 @@ class Folder formatting only | ||
| 67 | 67 | * Delete a folder. |
| 68 | 68 | * |
| 69 | 69 | * @param int|array $id |
| 70 | * | |
| 70 | * | |
| 71 | 71 | * @return array |
| 72 | 72 | */ |
| 73 | 73 | public function delete(): array |
| @@ -104,4 +104,4 @@ class Folder formatting only | ||
| 104 | 104 | { |
| 105 | 105 | return $this->client->request('POST', "folders/{$this->id}/duplicate"); |
| 106 | 106 | } |
| 107 | }⧵ | |
| 107 | } | |