Skip to content

Commit

Permalink
Add CI check ensuring interfaces have return types
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and fabpot committed Apr 22, 2023
1 parent ecda8f0 commit 0cc4ef7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Data/Bundle/Compiler/BundleCompilerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ interface BundleCompilerInterface
/**
* Compiles a resource bundle at the given source to the given target
* directory.
*
* @return void
*/
public function compile(string $sourcePath, string $targetDir);
}
3 changes: 3 additions & 0 deletions Data/Bundle/Writer/BundleWriterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
*/
interface BundleWriterInterface
{
/**
* @return void
*/
public function write(string $path, string $locale, mixed $data);
}

0 comments on commit 0cc4ef7

Please sign in to comment.