@@ -5394,7 +5394,7 @@ public function getValueToSelect($field_id_or_search_options, $name = '', $value
53945394 public function showStatsDates ()
53955395 {
53965396 // function to get strtotime safely, do not use if string is supposed to always be defined
5397- $ safe_get_strtime = static function ($ date_string ): int | null {
5397+ $ safe_get_strtime = static function ($ date_string ): ? int {
53985398 try {
53995399 return strtotime ((string ) $ date_string );
54005400 } catch (DatetimeException $ e ) {
@@ -6436,14 +6436,14 @@ private function transformOlasInputForBackwardCompatibility(array $input): array
64366436
64376437 // remove old fields and add new fields
64386438 if (isset ($ input ['olas_id_tto ' ])) {
6439- Toolbox::deprecated ('Passing `olas_id_tto` input to ticket is deprecated. ' .
6440- ' Use `_olas_id` (array) + `_la_update` instead. ' , version: "11.1 " );
6439+ Toolbox::deprecated ('Passing `olas_id_tto` input to ticket is deprecated. '
6440+ . ' Use `_olas_id` (array) + `_la_update` instead. ' , version: "11.1 " );
64416441 $ input ['_olas_id ' ][] = $ input ['olas_id_tto ' ];
64426442 unset($ input ['olas_id_tto ' ]);
64436443 }
64446444 if (isset ($ input ['olas_id_ttr ' ])) {
6445- Toolbox::deprecated ('Passing `olas_id_ttr` input to ticket is deprecated. ' .
6446- ' Use `_olas_id` (array) + `_la_update` instead. ' , version: "11.1 " );
6445+ Toolbox::deprecated ('Passing `olas_id_ttr` input to ticket is deprecated. '
6446+ . ' Use `_olas_id` (array) + `_la_update` instead. ' , version: "11.1 " );
64476447 $ input ['_olas_id ' ][] = $ input ['olas_id_ttr ' ];
64486448 unset($ input ['olas_id_ttr ' ]);
64496449 }
0 commit comments