В чём смысл? Какого хрена ошибка на 18й строке?
{
9: protected $tableName = "photos";
10: protected $fileExtension = "jpeg";
11:
12: protected function saveFile(string $filename, string $hash): bool
13: {
14: $image = Image::fromFile($filename);
15: if(($image->height >= ($image->width * pi())) || ($image->width >= ($image->height * pi())))
16: throw new ISE("Invalid layout: expected layout that matches (x, ?!>3x)");
17:
18: $image->save($this->pathFromHash($hash), 92, Image::JPEG);
19:
20: return true;
21: }
22: