Replace implicitly nullable parameters for PHP 8.4

This commit is contained in:
Jeppe Knockaert
2024-11-27 11:22:09 +01:00
parent 67e478e26a
commit 0fd348d3fe
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ class DocBlock implements \Reflector
*/
public function __construct(
$docblock,
Context $context = null,
Location $location = null
?Context $context = null,
?Location $location = null
) {
if (is_object($docblock)) {
if (!method_exists($docblock, 'getDocComment')) {