Fix required after optional parameter in doctrine config factory
[MAILPOET-3296]
This commit is contained in:
committed by
Veljko V
parent
56d7cd1398
commit
12cc818f8b
@ -22,7 +22,7 @@ class ConfigurationFactory {
|
||||
/** @var AnnotationReaderProvider */
|
||||
private $annotationReaderProvider;
|
||||
|
||||
public function __construct($isDevMode = null, AnnotationReaderProvider $annotationReaderProvider) {
|
||||
public function __construct(AnnotationReaderProvider $annotationReaderProvider, $isDevMode = null) {
|
||||
$this->isDevMode = $isDevMode === null ? WP_DEBUG : $isDevMode;
|
||||
$this->annotationReaderProvider = $annotationReaderProvider;
|
||||
}
|
||||
|
Reference in New Issue
Block a user