MOBILE-4694 behat: Fix PHP 7.4 compatibility for LMS 4.1

main
Pau Ferrer Ocaña 2024-11-06 09:57:52 +01:00
parent d0a89e0424
commit edf601b33c
2 changed files with 2 additions and 2 deletions

View File

@ -740,7 +740,7 @@ EOF;
* @param string $text
* @return string|string[] Transformed text.
*/
protected function transform_time_to_string(string $text): string|array {
protected function transform_time_to_string(string $text) {
if (!preg_match('/##(.*)##/', $text, $matches)) {
// No time found, return the original text.
return $text;

View File

@ -7,7 +7,7 @@
defined('MOODLE_INTERNAL') || die;
$plugin->version = {{ pluginVersion }};
$plugin->requires = 2016052300;
$plugin->requires = 2018051700;
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '{{ appVersion }}';
$plugin->component = 'local_moodleappbehat';