diff options
-rw-r--r-- | Acl/Dbal/Schema.php | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Acl/Dbal/Schema.php b/Acl/Dbal/Schema.php index 97376ac..9ff3521 100644 --- a/Acl/Dbal/Schema.php +++ b/Acl/Dbal/Schema.php @@ -12,7 +12,6 @@ namespace Symfony\Component\Security\Acl\Dbal; use Doctrine\DBAL\Schema\Schema as BaseSchema; -use Doctrine\DBAL\Schema\SchemaConfig; use Doctrine\DBAL\Connection; /** @@ -50,16 +49,16 @@ final class Schema extends BaseSchema * * @param BaseSchema $schema */ - public function addToSchema(BaseSchema $schema)
- {
- foreach ($this->getTables() as $table) {
- $schema->_addTable($table);
- }
-
- foreach ($this->getSequences() as $sequence) {
- $schema->_addSequence($sequence);
- }
- }
+ public function addToSchema(BaseSchema $schema) + { + foreach ($this->getTables() as $table) { + $schema->_addTable($table); + } + + foreach ($this->getSequences() as $sequence) { + $schema->_addSequence($sequence); + } + } /** * Adds the class table to the schema |