Fixes and validation rules

This commit is contained in:
Joseph Cohen
2015-09-24 23:07:39 -05:00
parent 354bfffc97
commit 3f8471d8da
12 changed files with 108 additions and 29 deletions
@@ -41,6 +41,18 @@ class ReportMaintenanceCommand
*/
public $timestamp;
/**
* The validation rules.
*
* @var string[]
*/
public $rules = [
'name' => 'required|string',
'message' => 'string',
'notify' => 'boolean',
'timestamp' => 'string',
];
/**
* Create a new report maintenance command instance.
*