Skip to content

Commit

Permalink
Update coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Jul 12, 2022
1 parent 11786ac commit 17f03fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"require-dev": {
"ext-xdebug": "*",
"aplus/coding-standard": "^1.12",
"aplus/coding-standard": "^1.13",
"ergebnis/composer-normalize": "^2.15",
"jetbrains/phpstorm-attributes": "^1.0",
"phpmd/phpmd": "^2.10",
Expand Down
3 changes: 2 additions & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ public function watermark(
Image $watermark,
int $horizontalPosition = 0,
int $verticalPosition = 0
) : static {
) : static
{
if ($horizontalPosition < 0) {
$horizontalPosition = $this->getWidth()
- (-1 * $horizontalPosition + $watermark->getWidth());
Expand Down

0 comments on commit 17f03fd

Please sign in to comment.