Skip to content

Commit

Permalink
fix: readd nullable type to interface for Carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Nov 21, 2023
1 parent 6ebb026 commit 0950b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Reflection/Php/BuiltinMethodReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface BuiltinMethodReflection

public function getName(): string;

public function getReflection(): ReflectionMethod;
public function getReflection(): ?ReflectionMethod;

public function getFileName(): ?string;

Expand Down
2 changes: 1 addition & 1 deletion src/Reflection/Php/NativeBuiltinMethodReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getName(): string
return $this->reflection->getName();
}

public function getReflection(): ReflectionMethod
public function getReflection(): ?ReflectionMethod
{
return $this->reflection;
}
Expand Down

0 comments on commit 0950b15

Please sign in to comment.