Fix lack of Command Validating middleware

This commit is contained in:
James Brooks
2017-07-17 21:21:06 +01:00
parent 3ad23828ba
commit 39718c7936
8 changed files with 20 additions and 17 deletions

View File

@@ -74,7 +74,7 @@ final class UpdateComponentCommand
/**
* JSON meta data for the component.
*
* @var string|null
* @var array|null
*/
public $meta;
@@ -98,7 +98,7 @@ final class UpdateComponentCommand
'order' => 'nullable|int',
'group_id' => 'nullable|int',
'enabled' => 'nullable|bool',
'meta' => 'nullable|string',
'meta' => 'nullable|array',
'silent' => 'nullable|bool',
];
@@ -113,7 +113,7 @@ final class UpdateComponentCommand
* @param int $order
* @param int $group_id
* @param bool $enabled
* @param string|null $meta
* @param array|null $meta
* @param bool $silent
*
* @return void