Skip to content

Commit

Permalink
[chore] Improved typings
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMediocresTestAccount committed Nov 3, 2022
1 parent 3dfa7bc commit 2a45a22
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/Responder/TwigResponder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
use Twig\Environment as TwigEnvironment;
use Sillynet\Adretto\WpTwig\Service\Twig;

/**
* @template A of \Sillynet\Adretto\Action\Action
* @phpstan-template A of \Sillynet\Adretto\Action\Action
* @implements Responder<A>
*/
abstract class TwigResponder implements Responder
{
protected TwigEnvironment $twig;
Expand Down

0 comments on commit 2a45a22

Please sign in to comment.