← All changes
|
includes/Dependencies/DI/Definition/Source/DefinitionFile.php
+2
-1
4.5.2
→
4.9.2
View file →
| @@ -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\Definition\Source; |
| @@ -24,9 +25,9 @@ | ||
| 24 | 25 | |
| 25 | 26 | /** |
| 26 | 27 | * @param string $file File in which the definitions are returned as an array. |
| 27 | 28 | */ |
| 28 | - public function __construct($file, Autowiring $autowiring = null) | |
| 29 | + public function __construct($file, ?Autowiring $autowiring = null) | |
| 29 | 30 | { |
| 30 | 31 | // Lazy-loading to improve performances |
| 31 | 32 | $this->file = $file; |
| 32 | 33 | |