1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Initialize table options annotation, fixed condition in AnnotationDriver

This commit is contained in:
Adrian Olek 2014-03-23 14:37:55 +01:00
parent 49587776fa
commit 0caeb4edbf
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class AnnotationDriver extends AbstractAnnotationDriver
}
}
if ($tableAnnot->options !== null) {
if ($tableAnnot->options) {
$primaryTable['options'] = $tableAnnot->options;
}

View File

@ -48,5 +48,5 @@ final class Table implements Annotation
/**
* @var array
*/
public $options;
public $options = array();
}