Skip to content

Commit

Permalink
Mark method deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed Aug 21, 2018
1 parent dd732e9 commit 175ea3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/QrCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,13 @@ public function setLogoSize(int $logoWidth, int $logoHeight = null): void
$this->logoHeight = $logoHeight;
}

/**
* @deprecated
*/
public function setLogoWidth(int $logoWidth): void
{
trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);

$this->logoWidth = $logoWidth;
}

Expand Down

0 comments on commit 175ea3c

Please sign in to comment.