diff --git a/fields/InscriptionField.php b/fields/InscriptionField.php index 1e2838f..690fb26 100644 --- a/fields/InscriptionField.php +++ b/fields/InscriptionField.php @@ -36,9 +36,9 @@ class InscriptionField extends BazarField || $this->getWiki()->UserIsInGroup('Coordination') ) { if ($entry['id_typeannonce'] == '10') { - return 'Vous inscrire à cette rencontre'; + return 'Vous inscrire à cette rencontre'; } - return 'Inscrire des adultes relais à cette formation'; + return 'Inscrire des adultes relais à cette formation'; } else { return '
Pour vous inscrire à cette session, vous devez en faire la demande à votre employeur qui une fois connecté pourra vous inscrire.
'; } @@ -48,16 +48,4 @@ class InscriptionField extends BazarField { return ''; } - - // change return of this method to keep compatible with php 7.3 (mixed is not managed) - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - return array_merge( - parent::jsonSerialize(), - [ - 'reservation_button' => ' Je profite de ce trajet' - ] - ); - } }