Initialize table options annotation, fixed condition in AnnotationDriver
This commit is contained in:
parent
49587776fa
commit
0caeb4edbf
@ -123,7 +123,7 @@ class AnnotationDriver extends AbstractAnnotationDriver
|
||||
}
|
||||
}
|
||||
|
||||
if ($tableAnnot->options !== null) {
|
||||
if ($tableAnnot->options) {
|
||||
$primaryTable['options'] = $tableAnnot->options;
|
||||
}
|
||||
|
||||
|
@ -48,5 +48,5 @@ final class Table implements Annotation
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $options;
|
||||
public $options = array();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user