N°2214 Cron : remove :void to keep compatibility with PHP < 7.1

see https://www.php.net/manual/fr/migration71.new-features.php#migration71.new-features.void-functions
This commit is contained in:
Pierre Goiffon
2020-09-11 19:08:58 +02:00
parent 0542a8e4f8
commit 4badb90344
2 changed files with 3 additions and 5 deletions

View File

@@ -436,7 +436,7 @@ class SetupUtils
*
* @since 2.8.0 N°2214 replace SetupLog::Log calls by CheckResult::TRACE
*/
private static function CheckPhpVersion(array &$aResult): void {
private static function CheckPhpVersion(array &$aResult) {
$aResult[] = new CheckResult(CheckResult::TRACE, 'Info - CheckPHPVersion');
$sPhpVersion = phpversion();