Skip to content

Commit e744941

Browse files
wouterjfabpot
authored andcommitted
Add CI check ensuring interfaces have return types
1 parent b07b38d commit e744941

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Generator/ConfigurableRequirementsInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ interface ConfigurableRequirementsInterface
4040
/**
4141
* Enables or disables the exception on incorrect parameters.
4242
* Passing null will deactivate the requirements check completely.
43+
*
44+
* @return void
4345
*/
4446
public function setStrictRequirements(?bool $enabled);
4547

RequestContextAwareInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ interface RequestContextAwareInterface
1515
{
1616
/**
1717
* Sets the request context.
18+
*
19+
* @return void
1820
*/
1921
public function setContext(RequestContext $context);
2022

0 commit comments

Comments
 (0)