| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | +// phpcs:ignoreFile -- Bundled third-party (Mozart) dependency; exempt from plugin coding standards. | |
| 2 | 3 | |
| 3 | 4 | declare(strict_types=1); |
| 4 | 5 | |
| 5 | 6 | namespace WPDeveloper\BetterDocs\Dependencies\DI; |
| @@ -93,11 +94,11 @@ | ||
| 93 | 94 | * |
| 94 | 95 | * @param ContainerInterface $wrapperContainer If the container is wrapped by another container. |
| 95 | 96 | */ |
| 96 | 97 | public function __construct( |
| 97 | - MutableDefinitionSource $definitionSource = null, | |
| 98 | - ProxyFactory $proxyFactory = null, | |
| 99 | - ContainerInterface $wrapperContainer = null | |
| 98 | + ?MutableDefinitionSource $definitionSource = null, | |
| 99 | + ?ProxyFactory $proxyFactory = null, | |
| 100 | + ?ContainerInterface $wrapperContainer = null | |
| 100 | 101 | ) { |
| 101 | 102 | $this->delegateContainer = $wrapperContainer ?: $this; |
| 102 | 103 | |
| 103 | 104 | $this->definitionSource = $definitionSource ?: $this->createDefaultDefinitionSource(); |