also looking at this
Bump vlucas/phpdotenv from 5.3.0 to 5.3.1
#111
15 files
+177
-297
formatting only · 8 hidden lines
| @@ -29,7 +29,7 @@ class Tag formatting only | ||
| 29 | 29 | /** |
| 30 | 30 | * Construct Folder model. |
| 31 | 31 | * |
| 32 | * @param Meema\MeemaClient\Client $client | |
| 32 | * @param Meema\MeemaClient\Client $client | |
| 33 | 33 | */ |
| 34 | 34 | public function __construct(Client $client) |
| 35 | 35 | { |
| @@ -49,8 +49,7 @@ class Tag | ||
| 49 | 49 | /** |
| 50 | 50 | * Get specific tags. |
| 51 | 51 | * |
| 52 | * @param array $ids | |
| 53 | * | |
| 52 | * @param array $ids | |
| 54 | 53 | * @return \Illuminate\Support\Collection|array |
| 55 | 54 | */ |
| 56 | 55 | public function get($ids = null) |
| @@ -79,8 +78,7 @@ class Tag | ||
| 79 | 78 | /** |
| 80 | 79 | * Get specific tags. |
| 81 | 80 | * |
| 82 | * @param int $id | |
| 83 | * | |
| 81 | * @param int $id | |
| 84 | 82 | * @return Response |
| 85 | 83 | */ |
| 86 | 84 | public function find($id): Response |
| @@ -97,9 +95,8 @@ class Tag | ||
| 97 | 95 | /** |
| 98 | 96 | * Update a tag color. |
| 99 | 97 | * |
| 100 | * @param int $id | |
| 101 | * @param string $color | |
| 102 | * | |
| 98 | * @param int $id | |
| 99 | * @param string $color | |
| 103 | 100 | * @return array |
| 104 | 101 | */ |
| 105 | 102 | public function update($id, $color) |
| @@ -119,8 +116,7 @@ class Tag | ||
| 119 | 116 | /** |
| 120 | 117 | * Delete tags. |
| 121 | 118 | * |
| 122 | * @param array $ids | |
| 123 | * | |
| 119 | * @param array $ids | |
| 124 | 120 | * @return Response |
| 125 | 121 | */ |
| 126 | 122 | public function delete($ids) |
| @@ -146,8 +142,7 @@ class Tag | ||
| 146 | 142 | /** |
| 147 | 143 | * Associate tags to a model. |
| 148 | 144 | * |
| 149 | * @param array $tag | |
| 150 | * | |
| 145 | * @param array $tag | |
| 151 | 146 | * @return array |
| 152 | 147 | */ |
| 153 | 148 | public function associate($tag) |
| @@ -158,8 +153,7 @@ class Tag | ||
| 158 | 153 | /** |
| 159 | 154 | * Associate tags to media. |
| 160 | 155 | * |
| 161 | * @param array $tag | |
| 162 | * | |
| 156 | * @param array $tag | |
| 163 | 157 | * @return array |
| 164 | 158 | */ |
| 165 | 159 | public function disassociate($tag) |
| @@ -170,8 +164,7 @@ class Tag | ||
| 170 | 164 | /** |
| 171 | 165 | * Initialize the media model. |
| 172 | 166 | * |
| 173 | * @param int $id | |
| 174 | * | |
| 167 | * @param int $id | |
| 175 | 168 | * @return Meema\MeemaClient\Models\Media |
| 176 | 169 | */ |
| 177 | 170 | public function media($id = null): Media |
| @@ -184,8 +177,7 @@ class Tag | ||
| 184 | 177 | /** |
| 185 | 178 | * Initialize the folder model. |
| 186 | 179 | * |
| 187 | * @param int $id | |
| 188 | * | |
| 180 | * @param int $id | |
| 189 | 181 | * @return Meema\MeemaClient\Models\Folder |
| 190 | 182 | */ |
| 191 | 183 | public function folders($id = null): Folder |
| @@ -198,8 +190,7 @@ class Tag | ||
| 198 | 190 | /** |
| 199 | 191 | * Fetch the tags for media. |
| 200 | 192 | * |
| 201 | * @param int $id | |
| 202 | * | |
| 193 | * @param int $id | |
| 203 | 194 | * @return array |
| 204 | 195 | */ |
| 205 | 196 | protected function fetchTagsForMedia($id) |
| @@ -210,8 +201,7 @@ class Tag | ||
| 210 | 201 | /** |
| 211 | 202 | * Fetch the tags for folders. |
| 212 | 203 | * |
| 213 | * @param int $id | |
| 214 | * | |
| 204 | * @param int $id | |
| 215 | 205 | * @return array |
| 216 | 206 | */ |
| 217 | 207 | protected function fetchTagsForFolder($id) |
| @@ -222,8 +212,7 @@ class Tag | ||
| 222 | 212 | /** |
| 223 | 213 | * Initialize media model. |
| 224 | 214 | * |
| 225 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 226 | * | |
| 215 | * @param Meema\MeemaClient\Models\Folder $folder | |
| 227 | 216 | * @return self |
| 228 | 217 | */ |
| 229 | 218 | public function setFolder($folder): self |
| @@ -236,8 +225,7 @@ class Tag | ||
| 236 | 225 | /** |
| 237 | 226 | * Initialize media model. |
| 238 | 227 | * |
| 239 | * @param Meema\MeemaClient\Models\Media $media | |
| 240 | * | |
| 228 | * @param Meema\MeemaClient\Models\Media $media | |
| 241 | 229 | * @return self |
| 242 | 230 | */ |
| 243 | 231 | public function setMedia($media): self |
| @@ -283,8 +271,7 @@ class Tag | ||
| 283 | 271 | /** |
| 284 | 272 | * Associate tags to a folder or media. |
| 285 | 273 | * |
| 286 | * @param array $tag | |
| 287 | * | |
| 274 | * @param array $tag | |
| 288 | 275 | * @return array |
| 289 | 276 | */ |
| 290 | 277 | protected function associateToModel($tag) |
| @@ -308,8 +295,7 @@ class Tag | ||
| 308 | 295 | /** |
| 309 | 296 | * Associate tags to a folder or media. |
| 310 | 297 | * |
| 311 | * @param array $tag | |
| 312 | * | |
| 298 | * @param array $tag | |
| 313 | 299 | * @return array |
| 314 | 300 | */ |
| 315 | 301 | protected function disassociateToModel($tag) |
| @@ -333,9 +319,8 @@ class Tag | ||
| 333 | 319 | /** |
| 334 | 320 | * Associate tag to a folder. |
| 335 | 321 | * |
| 336 | * @param int $id | |
| 337 | * @param array $tag | |
| 338 | * | |
| 322 | * @param int $id | |
| 323 | * @param array $tag | |
| 339 | 324 | * @return array |
| 340 | 325 | */ |
| 341 | 326 | protected function associateTagToFolder($id, $tag) |
| @@ -346,9 +331,8 @@ class Tag | ||
| 346 | 331 | /** |
| 347 | 332 | * Disassociate tag from a folder. |
| 348 | 333 | * |
| 349 | * @param int $id | |
| 350 | * @param array $tag | |
| 351 | * | |
| 334 | * @param int $id | |
| 335 | * @param array $tag | |
| 352 | 336 | * @return array |
| 353 | 337 | */ |
| 354 | 338 | protected function disassociateTagFromFolder($id, $tag) |
| @@ -359,9 +343,8 @@ class Tag | ||
| 359 | 343 | /** |
| 360 | 344 | * Associate tag to a media. |
| 361 | 345 | * |
| 362 | * @param int $id | |
| 363 | * @param array $tag | |
| 364 | * | |
| 346 | * @param int $id | |
| 347 | * @param array $tag | |
| 365 | 348 | * @return array |
| 366 | 349 | */ |
| 367 | 350 | protected function associateTagToMedia($id, $tag) |
| @@ -372,9 +355,8 @@ class Tag | ||
| 372 | 355 | /** |
| 373 | 356 | * Disassociate tag from a media. |
| 374 | 357 | * |
| 375 | * @param int $id | |
| 376 | * @param array $tag | |
| 377 | * | |
| 358 | * @param int $id | |
| 359 | * @param array $tag | |
| 378 | 360 | * @return array |
| 379 | 361 | */ |
| 380 | 362 | protected function disassociateTagFromMedia($id, $tag) |