← All changes
|
includes/Dependencies/DI/Compiler/ObjectCreationCompiler.php
+1
-2
4.9.0
→
3.8.9
View file →
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -// phpcs:ignoreFile -- Bundled third-party (Mozart) dependency; exempt from plugin coding standards. | |
| 3 | 2 | |
| 4 | 3 | declare(strict_types=1); |
| 5 | 4 | |
| 6 | 5 | namespace WPDeveloper\BetterDocs\Dependencies\DI\Compiler; |
| @@ -99,9 +98,9 @@ | ||
| 99 | 98 | |
| 100 | 99 | return implode("\n ", $code); |
| 101 | 100 | } |
| 102 | 101 | |
| 103 | - public function resolveParameters(?MethodInjection $definition = null, ?ReflectionMethod $method = null) : array | |
| 102 | + public function resolveParameters(MethodInjection $definition = null, ReflectionMethod $method = null) : array | |
| 104 | 103 | { |
| 105 | 104 | $args = []; |
| 106 | 105 | |
| 107 | 106 | if (! $method) { |