ReviewOS

also looking at this

meemalabs/meema-client-php

Apply fixes from StyleCI

#114
Merged chris wants to merge analysis-D2RKLl into dependabot/composer/guzzlehttp/guzzle-7.4.0
14 files +143 -256
src/Functions/Image.phpmodified+29-57
formatting only · 8 hidden lines
Changes to src/Functions/Image.php
@@ -23,7 +23,7 @@ class Image formatting only
2323 /**
2424 * Construct media model.
2525 *
26 * @param Meema\MeemaClient\Client $client
26 * @param Meema\MeemaClient\Client $client
2727 */
2828 public function __construct(Client $client)
2929 {
Changes to src/Functions/Image.php
@@ -33,8 +33,7 @@ class Image
3333 /**
3434 * Set the image width.
3535 *
36 * @param int $value
37 *
36 * @param int $value
3837 * @return $this
3938 */
4039 public function w($value)
@@ -47,8 +46,7 @@ class Image
4746 /**
4847 * Set the image height value.
4948 *
50 * @param int $value
51 *
49 * @param int $value
5250 * @return $this
5351 */
5452 public function h($value)
@@ -61,8 +59,7 @@ class Image
6159 /**
6260 * Set the image quality value.
6361 *
64 * @param int $value
65 *
62 * @param int $value
6663 * @return $this
6764 */
6865 public function q($value)
@@ -75,8 +72,7 @@ class Image
7572 /**
7673 * Set the image blur value.
7774 *
78 * @param int $value
79 *
75 * @param int $value
8076 * @return $this
8177 */
8278 public function blur($value)
@@ -89,8 +85,7 @@ class Image
8985 /**
9086 * Determine if image is nsfw.
9187 *
92 * @param int|string $value
93 *
88 * @param int|string $value
9489 * @return $this
9590 */
9691 public function nsfw($value)
@@ -103,8 +98,7 @@ class Image
10398 /**
10499 * Set image background value.
105100 *
106 * @param string $value
107 *
101 * @param string $value
108102 * @return $this
109103 */
110104 public function bg($value)
@@ -117,8 +111,7 @@ class Image
117111 /**
118112 * Set the aspect ratio value.
119113 *
120 * @param int $value
121 *
114 * @param int $value
122115 * @return $this
123116 */
124117 public function ar($value)
@@ -131,8 +124,7 @@ class Image
131124 /**
132125 * Set the brightness value.
133126 *
134 * @param int $value
135 *
127 * @param int $value
136128 * @return $this
137129 */
138130 public function bri($value)
@@ -145,8 +137,7 @@ class Image
145137 /**
146138 * Set the hue shift value.
147139 *
148 * @param int $value
149 *
140 * @param int $value
150141 * @return $this
151142 */
152143 public function hue($value)
@@ -159,8 +150,7 @@ class Image
159150 /**
160151 * Set the saturation value.
161152 *
162 * @param int $value
163 *
153 * @param int $value
164154 * @return $this
165155 */
166156 public function sat($value)
@@ -173,8 +163,7 @@ class Image
173163 /**
174164 * Set the sharpen value.
175165 *
176 * @param int $value
177 *
166 * @param int $value
178167 * @return $this
179168 */
180169 public function sharp($value)
@@ -187,8 +176,7 @@ class Image
187176 /**
188177 * Set the border radius outer value.
189178 *
190 * @param string $value
191 *
179 * @param string $value
192180 * @return $this
193181 */
194182 public function pad($value)
@@ -201,8 +189,7 @@ class Image
201189 /**
202190 * Set the greyscale value.
203191 *
204 * @param bool $value
205 *
192 * @param bool $value
206193 * @return $this
207194 */
208195 public function greyscale($value)
@@ -215,8 +202,7 @@ class Image
215202 /**
216203 * Set the trim value.
217204 *
218 * @param string $value
219 *
205 * @param string $value
220206 * @return $this
221207 */
222208 public function trim($value)
@@ -229,8 +215,7 @@ class Image
229215 /**
230216 * Set the face index value.
231217 *
232 * @param int $value
233 *
218 * @param int $value
234219 * @return $this
235220 */
236221 public function faceindex($value)
@@ -243,8 +228,7 @@ class Image
243228 /**
244229 * Set the fill color value.
245230 *
246 * @param string $value
247 *
231 * @param string $value
248232 * @return $this
249233 */
250234 public function fillColor($value)
@@ -257,8 +241,7 @@ class Image
257241 /**
258242 * Set the fill value.
259243 *
260 * @param string $value
261 *
244 * @param string $value
262245 * @return $this
263246 */
264247 public function fill($value)
@@ -271,8 +254,7 @@ class Image
271254 /**
272255 * Set the color space value.
273256 *
274 * @param string $value
275 *
257 * @param string $value
276258 * @return $this
277259 */
278260 public function cs($value)
@@ -285,8 +267,7 @@ class Image
285267 /**
286268 * Set the device pixel ration value.
287269 *
288 * @param string $value
289 *
270 * @param string $value
290271 * @return $this
291272 */
292273 public function dpr($value)
@@ -299,8 +280,7 @@ class Image
299280 /**
300281 * Set the extend value.
301282 *
302 * @param int $value
303 *
283 * @param int $value
304284 * @return $this
305285 */
306286 public function extend($value)
@@ -313,8 +293,7 @@ class Image
313293 /**
314294 * Set the extract value.
315295 *
316 * @param string $value
317 *
296 * @param string $value
318297 * @return $this
319298 */
320299 public function extract($value)
@@ -327,8 +306,7 @@ class Image
327306 /**
328307 * Set the crop value.
329308 *
330 * @param string $value
331 *
309 * @param string $value
332310 * @return $this
333311 */
334312 public function crop($value)
@@ -341,8 +319,7 @@ class Image
341319 /**
342320 * Set the max height value.
343321 *
344 * @param int $value
345 *
322 * @param int $value
346323 * @return $this
347324 */
348325 public function maxH($value)
@@ -355,8 +332,7 @@ class Image
355332 /**
356333 * Set the min height value.
357334 *
358 * @param int $value
359 *
335 * @param int $value
360336 * @return $this
361337 */
362338 public function minH($value)
@@ -369,8 +345,7 @@ class Image
369345 /**
370346 * Set the max width value.
371347 *
372 * @param int $value
373 *
348 * @param int $value
374349 * @return $this
375350 */
376351 public function maxW($value)
@@ -383,8 +358,7 @@ class Image
383358 /**
384359 * Set the min width value.
385360 *
386 * @param int $value
387 *
361 * @param int $value
388362 * @return $this
389363 */
390364 public function minW($value)
@@ -397,8 +371,7 @@ class Image
397371 /**
398372 * Set the resize fit mode value.
399373 *
400 * @param string $value
401 *
374 * @param string $value
402375 * @return $this
403376 */
404377 public function fit($value)
@@ -411,8 +384,7 @@ class Image
411384 /**
412385 * Set the pixellate value.
413386 *
414 * @param int $value
415 *
387 * @param int $value
416388 * @return $this
417389 */
418390 public function px($value)