Skip to content
Merged
Changes from 1 commit
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
12 changes: 0 additions & 12 deletions build/gen_stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -2389,8 +2389,6 @@ public function __construct(
$this->exposedDocComment = $exposedDocComment;
}

abstract protected function getVariableTypeCode(): string;

abstract protected function getVariableTypeName(): string;

abstract protected function getFieldSynopsisDefaultLinkend(): string;
Expand Down Expand Up @@ -2605,11 +2603,6 @@ protected function getVariableTypeName(): string
return "constant";
}

protected function getVariableTypeCode(): string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VariableLike::getTypeCode() should have called getVariableTypeCode() instead of getVariableTypeName(), but since the difference is minimal, I'm fine the removal of getVariableTypeCode().

{
return "const";
}

protected function getFieldSynopsisDefaultLinkend(): string
{
$className = str_replace(["\\", "_"], ["-", "-"], $this->name->class->toLowerString());
Expand Down Expand Up @@ -3042,11 +3035,6 @@ public function __construct(
parent::__construct($flags, $type, $phpDocType, $link, $phpVersionIdMinimumCompatibility, $attributes, $exposedDocComment);
}

protected function getVariableTypeCode(): string
{
return "property";
}

protected function getVariableTypeName(): string
{
return "property";
Expand Down