Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docblocks #63

Merged
merged 2 commits into from
Sep 19, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class App
*
* @param mixed $router Routing system.
* @param ContainerInterface $container Dependency Injection container.
*
* @throws Exception If no router is defined.
*/
public function __construct($router = null, ContainerInterface $container = null)
{
Expand Down
1 change: 1 addition & 0 deletions src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function __construct(FastRouterDispatcherInterface $router)
*
* @throws RouteNotFound If the route is not found.
* @throws MethodNotAllowed If the method is not allowed.
* @throws Exception If no one case is matched.
*
* @return array
*/
Expand Down
12 changes: 11 additions & 1 deletion src/Event/HttpFlowEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ class HttpFlowEvent extends Event
{
/**
* Representation of an outgoing, client-side request.
*
* @var mixed
*/
private $request;

/**
* Representation of an outgoing, server-side response.
*
* @var mixed
*/
private $response;

Expand Down Expand Up @@ -48,7 +52,7 @@ public function __construct($name, $request, $response)
/**
* Response getter.
*
* @return ResponseInterface|mixed
* @return mixed
*/
public function getResponse()
{
Expand All @@ -57,6 +61,8 @@ public function getResponse()

/**
* Response setter.
*
* @param mixed $response Representation of an outgoing, server-side response.
*/
public function setResponse($response)
{
Expand All @@ -65,6 +71,8 @@ public function setResponse($response)

/**
* Request setter.
*
* @param mixed $request Representation of an outgoing, client-side request.
*/
public function setRequest($request)
{
Expand All @@ -73,6 +81,8 @@ public function setRequest($request)

/**
* Request getter.
*
* @return mixed
*/
public function getRequest()
{
Expand Down