Skip to content

Commit 00a82b5

Browse files
committed
[TASK] Apply rule ArrayToFirstClassCallableRector
1 parent f8b37da commit 00a82b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Seo/NewsXmlSitemapDataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function generateItems(): void
144144
*/
145145
public function getItems(): array
146146
{
147-
return array_map([$this, 'defineUrl'], $this->items);
147+
return array_map($this->defineUrl(...), $this->items);
148148
}
149149

150150
/**

0 commit comments

Comments
 (0)