Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Metadata/ClassMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ClassMetadata extends MergeableClassMetadata
public function addMethodMetadata(BaseMethodMetadata $metadata)
{
if ($this->reflection->isFinal()) {
throw new RuntimeException(sprintf('Class "%s" is declared final, and cannot be secured.', $reflection->name));
throw new RuntimeException(sprintf('Class "%s" is declared final, and cannot be secured.', $this->reflection->name));
}

if ($metadata->reflection->isStatic()) {
Expand Down