Fix required after optional parameter in doctrine config factory

[MAILPOET-3296]
This commit is contained in:
Rostislav Wolny
2020-11-24 12:03:45 +01:00
committed by Veljko V
parent 56d7cd1398
commit 12cc818f8b
7 changed files with 9 additions and 9 deletions

View File

@ -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;
}