Skip to content

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)