Skip to content
Snippets Groups Projects

Issue #3238714: Change type of $event parameter in \Drupal\automatic_updates\Updater::getExclusions

Merged Issue #3238714: Change type of $event parameter in \Drupal\automatic_updates\Updater::getExclusions
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -200,7 +200,7 @@ class Updater {
* @return string[]
* The paths to exclude, relative to the active directory.
*/
private function getExclusions($event): array {
private function getExclusions(UpdateEvent $event): array {
$make_relative = function (string $path): string {
return str_replace($this->pathLocator->getActiveDirectory() . '/', '', $path);
};
Loading