Skip to content

Commit 0cc4ef7

Browse files
wouterjfabpot
authored andcommitted
Add CI check ensuring interfaces have return types
1 parent ecda8f0 commit 0cc4ef7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Data/Bundle/Compiler/BundleCompilerInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ interface BundleCompilerInterface
2323
/**
2424
* Compiles a resource bundle at the given source to the given target
2525
* directory.
26+
*
27+
* @return void
2628
*/
2729
public function compile(string $sourcePath, string $targetDir);
2830
}

Data/Bundle/Writer/BundleWriterInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
*/
2121
interface BundleWriterInterface
2222
{
23+
/**
24+
* @return void
25+
*/
2326
public function write(string $path, string $locale, mixed $data);
2427
}

0 commit comments

Comments
 (0)