Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 84ff62b

Browse files
dummy
1 parent e04dc50 commit 84ff62b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎src/Reflection/Dummy/ChangedTypeMethodReflection.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,9 @@ public function getAttributes(): array
171171
return $this->reflection->getAttributes();
172172
}
173173

174+
public function hasNoDiscardAttribute(): TrinaryLogic
175+
{
176+
return $this->reflection->hasNoDiscardAttribute();
177+
}
178+
174179
}

‎src/Reflection/Dummy/DummyMethodReflection.php‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,10 @@ public function getAttributes(): array
149149
return [];
150150
}
151151

152+
public function hasNoDiscardAttribute(): TrinaryLogic
153+
{
154+
// Align with the getAttributes() returning empty
155+
return TrinaryLogic::createNo();
156+
}
157+
152158
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /