Changeset 910
- Timestamp:
- 09/12/07 11:54:07 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/rdbms/persistence/creator/stubDatabaseCreator.php
r907 r910 56 56 public static function getInstance(stubDatabaseConnection $connection, $refresh = false) 57 57 { 58 if (isset(self::$instances[$connection->hashCode()]) == false || true== $refresh) {58 if (isset(self::$instances[$connection->hashCode()]) === false || true === $refresh) { 59 59 self::$instances[$connection->hashCode()] = new self($connection); 60 60 } … … 86 86 } 87 87 88 $tableDescription = $this->getTableDescription($entityClass); 88 $tableDescription = $this->getTableDescription($entityClass); 89 89 $methods = $entityClass->getMethods(); 90 90 foreach ($methods as $method) { trunk/src/main/php/net/stubbles/rdbms/persistence/eraser/stubDatabaseEraser.php
r907 r910 58 58 public static function getInstance(stubDatabaseConnection $connection, $refresh = false) 59 59 { 60 if (isset(self::$instances[$connection->hashCode()]) == false || true== $refresh) {60 if (isset(self::$instances[$connection->hashCode()]) === false || true === $refresh) { 61 61 self::$instances[$connection->hashCode()] = new self($connection); 62 62 }
