Fix some test runner issues

This commit is contained in:
Dane Everitt 2017-10-03 23:36:39 -05:00
parent 9b79d9c756
commit 8952043600
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ abstract class AdminFormRequest extends FormRequest
* *
* @return array * @return array
*/ */
abstract public function rules(): array; abstract public function rules();
/** /**
* Determine if the user is an admin and has permission to access this * Determine if the user is an admin and has permission to access this

View file

@ -16,7 +16,7 @@ class OptionImportFormRequest extends AdminFormRequest
/** /**
* @return array * @return array
*/ */
public function rules(): array public function rules()
{ {
return [ return [
'import_file' => 'bail|required|file|max:1000|mimetypes:application/json,text/plain', 'import_file' => 'bail|required|file|max:1000|mimetypes:application/json,text/plain',

View file

@ -16,7 +16,7 @@ class ServiceFormRequest extends AdminFormRequest
/** /**
* @return array * @return array
*/ */
public function rules(): array public function rules()
{ {
return [ return [
'name' => 'required|string|min:1|max:255', 'name' => 'required|string|min:1|max:255',