Commit d79ce18e authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #401 from flack/patch-1

Use correct classname in exception message
parents 21a444df 13ccccb8
......@@ -55,7 +55,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
public function __construct($table, AbstractPlatform $platform)
{
if ( ! $table instanceof Table && !is_string($table)) {
throw new \InvalidArgumentException('SchemaCreateTableEventArgs expects $table parameter to be string or \Doctrine\DBAL\Schema\Table.');
throw new \InvalidArgumentException('SchemaDropTableEventArgs expects $table parameter to be string or \Doctrine\DBAL\Schema\Table.');
}
$this->_table = $table;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment