mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
set namespace/use declaration on exception
highlighted by https://insight.sensiolabs.com/projects/6031863a-10a3-44d5-891d-ac6dac2ed65a/analyses/1?status=violations#239680028
This commit is contained in:
parent
38d9832b72
commit
ee205d3386
@ -332,7 +332,7 @@ class ReportController extends Controller
|
||||
}
|
||||
|
||||
if(intval($person_id) !== intval($report->getPerson()->getId())) {
|
||||
throw new Exception(
|
||||
throw new \Exception(
|
||||
$this->get('translator')->trans('This is not the report of the person.'), 1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user