Commit 13ccccb8 authored by flack's avatar flack

Use correct classname in exception message

parent 21a444df
...@@ -55,7 +55,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs ...@@ -55,7 +55,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
public function __construct($table, AbstractPlatform $platform) public function __construct($table, AbstractPlatform $platform)
{ {
if ( ! $table instanceof Table && !is_string($table)) { 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; $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