Commit 899e05f2 authored by Steve Müller's avatar Steve Müller

Merge pull request #890 from LeoOnTheEarth/patch-1

Fixed typo
parents 721b7356 77344ece
......@@ -1043,7 +1043,7 @@ class MySqlPlatform extends AbstractPlatform
if ($table instanceof Table) {
$table = $table->getQuotedName($this);
} elseif (!is_string($table)) {
throw new \InvalidArgumentException('getDropTableSQL() expects $table parameter to be string or \Doctrine\DBAL\Schema\Table.');
throw new \InvalidArgumentException('getDropTemporaryTableSQL() expects $table parameter to be string or \Doctrine\DBAL\Schema\Table.');
}
return 'DROP TEMPORARY TABLE ' . $table;
......
......@@ -22,7 +22,7 @@ namespace Doctrine\DBAL\Schema;
use Doctrine\DBAL\Platforms\AbstractPlatform;
/**
* Marker interface for contraints.
* Marker interface for constraints.
*
* @link www.doctrine-project.org
* @since 2.0
......
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