Skip to content

Conversation

@slavomir-sidor
Copy link

This PR

  • [x]
  • [ ]
  • [ ]

Follows #. Related to #. Fixes #.

Dears,

I have changed configuration structure and interface of NotificationService, to allow use multiple cns_group.
this patch will affect only existing configurations, but I leave there a default key, in send method, which means the source code of existing application wont be affected.

Kind Regards

public function send(NotificationInterface $notification): int;
public function send(
NotificationInterface $notification,
string $groupCode = NotificationService::GROUP_CODE_DEFAULT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The constant GROUP_CODE_DEFAULT must be set in the interface, not in the concrete NotificationService implementation.

@drupol
Copy link
Member

drupol commented Nov 23, 2022

I just rebased your branch to run the updated CI workflow that I added in main branch.

@drupol
Copy link
Member

drupol commented Nov 23, 2022

Could you please run ./vendor/bin/grumphp run --tasks=phpcsfixer and press y to fix all the CS related issues ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants