| @@ -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; |
| @@ -271,9 +272,9 @@ | ||
| 271 | 272 | * @param string|null $proxyDirectory Directory where to write the proxies |
| 272 | 273 | * @throws InvalidArgumentException when writeToFile is set to true and the proxy directory is null |
| 273 | 274 | * @return $this |
| 274 | 275 | */ |
| 275 | - public function writeProxiesToFile(bool $writeToFile, string $proxyDirectory = null) : self | |
| 276 | + public function writeProxiesToFile(bool $writeToFile, ?string $proxyDirectory = null) : self | |
| 276 | 277 | { |
| 277 | 278 | $this->ensureNotLocked(); |
| 278 | 279 | |
| 279 | 280 | $this->writeProxiesToFile = $writeToFile; |