This commit is contained in:
Dave Mc Nicoll committed 2023-04-13 15:39:21 -04:00
commit bd61522a07
13 files changed
+69 -11

No files matched your search

+7
View File
@@ -62,6 +62,13 @@ class EntityField implements WhereRawParameter
]);
}
public static function generateAlterColumn(AdapterInterface $adapter, array $field) : string
{
$definition = new FieldDefinition($adapter, $field['definition']);
return $adapter->generateAlterColumn($definition, $field);
}
public static function isObjectType($type) : bool
{
# @Should be fixed with isBuiltIn() instead, it won't be correct based only on name
+2 -1
View File
@@ -56,7 +56,8 @@ abstract class Sql {
$this->identifier = $identifier;
}
public function __toString() {
public function __toString() : string
{
return $this->identifier;
}
};