Skip to content

Commit

Permalink
Merge pull request #406 from localgovdrupal/fix/3.x/minor-rector-fixes
Browse files Browse the repository at this point in the history
fix: add return types
  • Loading branch information
finnlewis authored Nov 26, 2024
2 parents d8282e6 + 1efff0a commit 412902a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(DefaultFacetManager $facet_manager) {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
return [
SearchApiEvents::QUERY_PRE_EXECUTE => 'queryPreExecute',
];
Expand Down
2 changes: 1 addition & 1 deletion src/EventSubscriber/DirectoriesConfigSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function ignoreConfigNames(StorageInterface $storage) {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[ConfigEvents::STORAGE_TRANSFORM_IMPORT][] = ['onImportTransform'];
$events[ConfigEvents::STORAGE_TRANSFORM_EXPORT][] = ['onExportTransform'];
return $events;
Expand Down

0 comments on commit 412902a

Please sign in to comment.