From: Brion Vibber Date: Fri, 15 Oct 2010 20:34:54 +0000 (-0700) Subject: fix typo on params on Schema->createTable() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77300f94a3948dce222e92512d0257beebccf2f8;p=quix0rs-gnu-social.git fix typo on params on Schema->createTable() --- diff --git a/lib/schema.php b/lib/schema.php index 2793906a46..b5e452a6e8 100644 --- a/lib/schema.php +++ b/lib/schema.php @@ -119,14 +119,13 @@ class Schema /** * Creates a table with the given names and columns. * - * @param string $name Name of the table - * @param array $columns Array of ColumnDef objects - * for new table. + * @param string $tableName Name of the table + * @param array $def Table definition array listing fields and indexes. * * @return boolean success flag */ - public function createTable($name, $columns) + public function createTable($tableName, $def) { $statements = $this->buildCreateTable($tableName, $def); return $this->runSqlSet($statements);