"Only variables must be passed by reference"

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/5772/head
Joas Schilling 9 years ago
parent b729cc2a02
commit 41fca6c852
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 6
      lib/private/DB/MigrationService.php

@ -284,7 +284,8 @@ class MigrationService {
case 'latest':
$this->ensureMigrationsAreLoaded();
return @end($this->getAvailableVersions());
$migrations = $this->getAvailableVersions();
return @end($migrations);
}
return '0';
}
@ -316,7 +317,8 @@ class MigrationService {
if (count($m) === 0) {
return '0';
}
return @end(array_values($m));
$migrations = array_values($m);
return @end($migrations);
}
/**

Loading…
Cancel
Save