Merge branch 'master' of https://git.mcnd.ca/mcndave/ulmus
This commit is contained in:
commit
bd61522a07
13 files changed
+69
-11
No files matched your search
@@ -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
@@ -56,7 +56,8 @@ abstract class Sql {
|
||||
$this->identifier = $identifier;
|
||||
}
|
||||
|
||||
public function __toString() {
|
||||
public function __toString() : string
|
||||
{
|
||||
return $this->identifier;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user