mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Replace implicitly nullable parameters for PHP 8.4
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user