mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 15:13:42 +08:00
Docblock cleanup
This commit is contained in:
parent
0b141b3e92
commit
fabc448572
|
@ -9,7 +9,7 @@ abstract class CreateAction extends SerializeResourceAction
|
||||||
/**
|
/**
|
||||||
* Set a 201 Created status code on the response.
|
* Set a 201 Created status code on the response.
|
||||||
*
|
*
|
||||||
* @param \Flarum\Api\Request $request
|
* @param Request $request
|
||||||
* @return \Psr\Http\Message\ResponseInterface
|
* @return \Psr\Http\Message\ResponseInterface
|
||||||
*/
|
*/
|
||||||
public function respond(Request $request)
|
public function respond(Request $request)
|
||||||
|
@ -20,8 +20,8 @@ abstract class CreateAction extends SerializeResourceAction
|
||||||
/**
|
/**
|
||||||
* Get the newly created resource to be serialized and assigned to the response document.
|
* Get the newly created resource to be serialized and assigned to the response document.
|
||||||
*
|
*
|
||||||
* @param \Flarum\Api\JsonApiRequest $request
|
* @param JsonApiRequest $request
|
||||||
* @param \Tobscure\JsonApi\Document $document
|
* @param Document $document
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function data(JsonApiRequest $request, Document $document)
|
protected function data(JsonApiRequest $request, Document $document)
|
||||||
|
@ -33,7 +33,7 @@ abstract class CreateAction extends SerializeResourceAction
|
||||||
* Create the resource.
|
* Create the resource.
|
||||||
*
|
*
|
||||||
* @param JsonApiRequest $request
|
* @param JsonApiRequest $request
|
||||||
* @return \Flarum\Core\Models\Model
|
* @return \Flarum\Core\Model
|
||||||
*/
|
*/
|
||||||
abstract protected function create(JsonApiRequest $request);
|
abstract protected function create(JsonApiRequest $request);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user