Add empty default value to description parameter and remove the tabs from the empty lines

Signed-off-by: alexandru.puiu <alexandrup@newro.co>
This commit is contained in:
alexandru.puiu
2019-08-19 11:38:04 +03:00
parent 313ceb9a95
commit 002587523f
2 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ class CardApiController extends ApiController {
*
* Get a specific card.
*/
public function create($title, $type = 'plain', $order = 999, $description) {
public function create($title, $type = 'plain', $order = 999, $description = '') {
$card = $this->cardService->create($title, $this->request->getParam('stackId'), $type, $order, $this->userId, $description);
return new DataResponse($card, HTTP::STATUS_OK);
}