Skip to content
Snippets Groups Projects
Commit c25a0431 authored by Kunal Sachdev's avatar Kunal Sachdev Committed by Ted Bowman
Browse files

Issue #3238714 by kunal.sachdev: Change type of $event parameter in...

Issue #3238714 by kunal.sachdev: Change type of $event parameter in \Drupal\automatic_updates\Updater::getExclusions
parent 235a1628
No related branches found
No related tags found
1 merge request!55Issue #3238714: Change type of $event parameter in \Drupal\automatic_updates\Updater::getExclusions
...@@ -200,7 +200,7 @@ class Updater { ...@@ -200,7 +200,7 @@ class Updater {
* @return string[] * @return string[]
* The paths to exclude, relative to the active directory. * 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 { $make_relative = function (string $path): string {
return str_replace($this->pathLocator->getActiveDirectory() . '/', '', $path); return str_replace($this->pathLocator->getActiveDirectory() . '/', '', $path);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment