mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
22 lines
482 B
PHP
22 lines
482 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Validation\Validator;
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
|
use Illuminate\Routing\Controller as BaseController;
|
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
|
|
|
class Controller extends BaseController
|
|
{
|
|
use DispatchesJobs, ValidatesRequests;
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
protected function formatValidationErrors(Validator $validator)
|
|
{
|
|
return $validator->errors()->all();
|
|
}
|
|
}
|