Showing 2 of 13 total issues
Method resizeImage
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function resizeImage(int $width = 100, int $height = null)
{
if (!file_exists($this->sImgPath) || !is_readable($this->sImgPath)) {
throw new Exception('Image not exists');
}
Method toGreyScale
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function toGreyScale(int $tone = null)
{
if (is_null($tone)) {
return 'None';
}