Skip to content

Commit

Permalink
add docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
nbayramberdiyev committed Dec 28, 2021
1 parent 672742d commit 0e010bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/TwigMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ public function __construct(
}

/**
* {@inheritdoc}
* Process an incoming server request.
*
* @param ServerRequestInterface $request
* @param RequestHandlerInterface $handler
*
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
Expand Down
6 changes: 5 additions & 1 deletion src/TwigRuntimeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ public function __construct(RouteParserInterface $routeParser, UriInterface $uri
}

/**
* {@inheritdoc}
* Create the runtime implementation of a Twig element.
*
* @param string $class
*
* @return mixed
*/
public function load(string $class)
{
Expand Down

0 comments on commit 0e010bd

Please sign in to comment.