Skip to content
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
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"phpunit/phpunit": "^6.0",
"propel/propel": "~2.0@dev",
"slim/slim": "3.*"
},
"conflict": {
"wollanup/php-api-rest-swagger": "<0.1"
}
}
5 changes: 3 additions & 2 deletions src/Slim/Handlers/Strategies/ActionStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function __construct(ContainerInterface $container)
* @param array $routeArguments
*
* @return mixed
* @throws \Exception
*/
public function __invoke(
callable $callable,
Expand Down Expand Up @@ -95,6 +96,7 @@ public function callAction(
* @param $routeArguments
*
* @return array
* @throws \ReflectionException
*/
protected function buildParams(
callable $callable,
Expand Down Expand Up @@ -200,8 +202,7 @@ protected function buildResponse($result, ResponseInterface $response)
* @param array $routeArguments
*
* @return mixed
* @throws ResponseBuilderException
* @throws ResponseFormatterException
* @throws \Exception
*/
protected function callHandler(
callable $callable,
Expand Down