From 175502e9f745e1d5ec1f6d13d4018f43f289b8ed Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 6 Jun 2012 11:11:28 +0200 Subject: [PATCH] add missing new keyword --- src/FFMpeg/Format/Dimension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFMpeg/Format/Dimension.php b/src/FFMpeg/Format/Dimension.php index 625bee1..605d6ef 100644 --- a/src/FFMpeg/Format/Dimension.php +++ b/src/FFMpeg/Format/Dimension.php @@ -33,7 +33,7 @@ class Dimension public function __construct($width, $height) { if ($width <= 0 || $height <= 0) { - throw InvalidArgumentException('Width and height should be positive integer'); + throw new InvalidArgumentException('Width and height should be positive integer'); } $this->width = (int) $width;