1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00

Remove pointless JSON-API action base class

Cleanup related to #118.
This commit is contained in:
Franz Liedke
2015-09-09 09:04:49 +02:00
parent 502a3787d5
commit 902d01712b
7 changed files with 12 additions and 49 deletions

View File

@@ -38,7 +38,7 @@ class Client
*/
public function send(User $actor, $actionClass, array $input = [])
{
/** @var \Flarum\Api\Actions\JsonApiAction $action */
/** @var \Flarum\Api\Actions\Action $action */
$action = $this->container->make($actionClass);
$response = $action->handle(new Request($input, $actor));