Skip to content

Commit 0725734

Browse files
annotation, exit
1 parent 083e425 commit 0725734

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Reflection/Annotations/AnnotationMethodReflection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,9 @@ public function getAttributes(): array
183183
return [];
184184
}
185185

186+
public function hasNoDiscardAttribute(): TrinaryLogic
187+
{
188+
return TrinaryLogic::createNo();
189+
}
190+
186191
}

src/Reflection/Php/ExitFunctionReflection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,9 @@ public function getAttributes(): array
143143
return [];
144144
}
145145

146+
public function hasNoDiscardAttribute(): TrinaryLogic
147+
{
148+
return TrinaryLogic::createNo();
149+
}
150+
146151
}

0 commit comments

Comments
 (0)