@@ -248,7 +248,7 @@ |
||
| 248 | 248 | /** |
| 249 | 249 | * Get workTutor |
| 250 | 250 | * |
| 251 | - * @return WorkTutor |
|
| 251 | + * @return Person |
|
| 252 | 252 | */ |
| 253 | 253 | public function getWorkTutor() |
| 254 | 254 | { |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | ['size' => '4', 'sort_field' => 'p.lastName', 'name' => 'form.last_name'], |
| 171 | 171 | ['size' => '5', 'sort_field' => 'w.company', 'name' => 'form.company'] |
| 172 | 172 | ], |
| 173 | - 'data_columns' => ['person', 'company',] |
|
| 173 | + 'data_columns' => ['person', 'company', ] |
|
| 174 | 174 | ]; |
| 175 | 175 | |
| 176 | 176 | /** |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | $this->getDoctrine()->getManager()->flush(); |
| 275 | 275 | $this->addFlash('success', $this->get('translator')->trans('alert.deleted', [], $entityData['entity'])); |
| 276 | 276 | } |
| 277 | - catch(\Exception $e) { |
|
| 277 | + catch (\Exception $e) { |
|
| 278 | 278 | $this->addFlash('error', $this->get('translator')->trans('alert.not_deleted', [], $entityData['entity'])); |
| 279 | 279 | } |
| 280 | 280 | return $this->redirectToRoute('admin_' . $entityData['entity']); |