-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-5121: Streamlined SiteaccessResolverInterface #722
Conversation
bb94ae7
to
091fb94
Compare
'name' | ||
); | ||
} | ||
|
||
public function getSiteAccessesList(): array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: phpdoc could be more specific about type of returned value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is in interface.
d05fba1
to
cbac63c
Compare
cbac63c
to
c50bd39
Compare
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on IbexaDXP commerce 4.5
As a part of changes, I moved
\Ibexa\PageBuilder\Siteaccess\SiteaccessService::resolveSiteAccessForContent
into\Ibexa\AdminUi\Siteaccess\SiteaccessResolverInterface
as it seems that is a proper place for it. As additional cleanup, I had deprecated\Ibexa\AdminUi\Siteaccess\SiteaccessResolverInterface::getSiteaccessesForLocation
asgetSiteAccessesListForLocation
does basically the same thing, and the naming is quite confusing - same thing was done forgetSiteaccesses
method.Checklist:
$ composer fix-cs
)