Fixing strict standards notice
This commit is contained in:
parent
2f6f8587b5
commit
b2eeac5640
@ -41,7 +41,8 @@ class ConvertDoctrine1Schema
|
||||
private $_legacyTypeMap = array(
|
||||
// TODO: This list may need to be updated
|
||||
'clob' => 'text',
|
||||
'timestamp' => 'datetime'
|
||||
'timestamp' => 'datetime',
|
||||
'enum' => 'string'
|
||||
);
|
||||
|
||||
/**
|
||||
@ -238,6 +239,7 @@ class ConvertDoctrine1Schema
|
||||
if (isset($relation['refClass'])) {
|
||||
$type = 'many';
|
||||
$foreignType = 'many';
|
||||
$joinColumns = array();
|
||||
} else {
|
||||
$type = isset($relation['type']) ? $relation['type'] : 'one';
|
||||
$foreignType = isset($relation['foreignType']) ? $relation['foreignType'] : 'many';
|
||||
|
Loading…
x
Reference in New Issue
Block a user