Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump vlucas/phpdotenv from 5.3.1 to 5.4.0 #117

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
219 changes: 107 additions & 112 deletions composer.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Client
/**
* Construct Meema client.
*
* @param string $accessKey
* @param string $accessKey
*/
public function __construct($accessKey, $config = [])
{
Expand Down Expand Up @@ -67,8 +67,8 @@ public function initializeEnv()
/**
* Handle the API request.
*
* @param string $method
* @param string $path
* @param string $method
* @param string $path
*/
public function request($method, $path, $data = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/FeatureNotImplementedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class FeatureNotImplementedException extends Exception
/**
* Construct exception.
*
* @param string $message
* @param string $message
*/
public function __construct(string $message = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidFormatException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class InvalidFormatException extends Exception
/**
* Construct exception.
*
* @param string $message
* @param string $message
*/
public function __construct(string $message = null)
{
Expand Down
86 changes: 29 additions & 57 deletions src/Functions/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Image
/**
* Construct media model.
*
* @param Meema\MeemaClient\Client $client
* @param Meema\MeemaClient\Client $client
*/
public function __construct(Client $client)
{
Expand All @@ -33,8 +33,7 @@ public function __construct(Client $client)
/**
* Set the image width.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function w($value)
Expand All @@ -47,8 +46,7 @@ public function w($value)
/**
* Set the image height value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function h($value)
Expand All @@ -61,8 +59,7 @@ public function h($value)
/**
* Set the image quality value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function q($value)
Expand All @@ -75,8 +72,7 @@ public function q($value)
/**
* Set the image blur value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function blur($value)
Expand All @@ -89,8 +85,7 @@ public function blur($value)
/**
* Determine if image is nsfw.
*
* @param int|string $value
*
* @param int|string $value
* @return $this
*/
public function nsfw($value)
Expand All @@ -103,8 +98,7 @@ public function nsfw($value)
/**
* Set image background value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function bg($value)
Expand All @@ -117,8 +111,7 @@ public function bg($value)
/**
* Set the aspect ratio value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function ar($value)
Expand All @@ -131,8 +124,7 @@ public function ar($value)
/**
* Set the brightness value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function bri($value)
Expand All @@ -145,8 +137,7 @@ public function bri($value)
/**
* Set the hue shift value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function hue($value)
Expand All @@ -159,8 +150,7 @@ public function hue($value)
/**
* Set the saturation value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function sat($value)
Expand All @@ -173,8 +163,7 @@ public function sat($value)
/**
* Set the sharpen value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function sharp($value)
Expand All @@ -187,8 +176,7 @@ public function sharp($value)
/**
* Set the border radius outer value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function pad($value)
Expand All @@ -201,8 +189,7 @@ public function pad($value)
/**
* Set the greyscale value.
*
* @param bool $value
*
* @param bool $value
* @return $this
*/
public function greyscale($value)
Expand All @@ -215,8 +202,7 @@ public function greyscale($value)
/**
* Set the trim value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function trim($value)
Expand All @@ -229,8 +215,7 @@ public function trim($value)
/**
* Set the face index value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function faceindex($value)
Expand All @@ -243,8 +228,7 @@ public function faceindex($value)
/**
* Set the fill color value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function fillColor($value)
Expand All @@ -257,8 +241,7 @@ public function fillColor($value)
/**
* Set the fill value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function fill($value)
Expand All @@ -271,8 +254,7 @@ public function fill($value)
/**
* Set the color space value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function cs($value)
Expand All @@ -285,8 +267,7 @@ public function cs($value)
/**
* Set the device pixel ration value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function dpr($value)
Expand All @@ -299,8 +280,7 @@ public function dpr($value)
/**
* Set the extend value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function extend($value)
Expand All @@ -313,8 +293,7 @@ public function extend($value)
/**
* Set the extract value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function extract($value)
Expand All @@ -327,8 +306,7 @@ public function extract($value)
/**
* Set the crop value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function crop($value)
Expand All @@ -341,8 +319,7 @@ public function crop($value)
/**
* Set the max height value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function maxH($value)
Expand All @@ -355,8 +332,7 @@ public function maxH($value)
/**
* Set the min height value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function minH($value)
Expand All @@ -369,8 +345,7 @@ public function minH($value)
/**
* Set the max width value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function maxW($value)
Expand All @@ -383,8 +358,7 @@ public function maxW($value)
/**
* Set the min width value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function minW($value)
Expand All @@ -397,8 +371,7 @@ public function minW($value)
/**
* Set the resize fit mode value.
*
* @param string $value
*
* @param string $value
* @return $this
*/
public function fit($value)
Expand All @@ -411,8 +384,7 @@ public function fit($value)
/**
* Set the pixellate value.
*
* @param int $value
*
* @param int $value
* @return $this
*/
public function px($value)
Expand Down
Loading