From: Torben Brodt Date: Mon, 30 Jan 2012 20:48:39 +0000 (+0100) Subject: use exception for unimplemented method X-Git-Tag: 2.0.0_Beta_1~1365^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2074a10e4f36af93f3aa6fd8fca575080e64895f;p=GitHub%2FWoltLab%2FWCF.git use exception for unimplemented method --- diff --git a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php index d603997617..db076242fa 100644 --- a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php +++ b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php @@ -94,7 +94,7 @@ class ImagickImageAdapter implements IImageAdapter { * @see wcf\system\image\adapter\IImageAdapter::resize() */ public function resize($originX, $originY, $originWidth, $originHeight, $targetX, $targetY, $targetWidth, $targetHeight) { - // TODO: Implement resize() method. + throw new \Exception("resize() method not implemented yet."); // TODO: Implement resize() method. } /**