Skip to content

Issue #347: Fixed UndefinedInterfaceMethod issue in CookieService.#348

Merged
alexmerlin merged 1 commit into
4.0from
issue-347
Feb 9, 2023
Merged

Issue #347: Fixed UndefinedInterfaceMethod issue in CookieService.#348
alexmerlin merged 1 commit into
4.0from
issue-347

Conversation

@alexmerlin
Copy link
Copy Markdown
Member

Note:
With this fix, $this->sessionConfig->getCookieSameSite() is correctly identified on line 69, but the IDE reports a warning on the property definition ($this->sessionConfig = $sessionManager->getConfig();) itself:

Incompatible types: Expected property of type '\Laminas\Session\Config\StandardConfig', '\Laminas\Session\Config\ConfigInterface|null' provided

Laminas\Session\Config\StandardConfig does implement Laminas\Session\Config\ConfigInterface, that's why Psalm does not report this as an issue.

@alexmerlin alexmerlin self-assigned this Feb 9, 2023
@alexmerlin alexmerlin changed the title Issue #347: Fixed UndefinedInterfaceMethod in CookieService. Issue #347: Fixed UndefinedInterfaceMethod issue in CookieService. Feb 9, 2023
@alexmerlin alexmerlin merged commit c278154 into 4.0 Feb 9, 2023
@alexmerlin alexmerlin deleted the issue-347 branch February 9, 2023 11:26
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.

1 participant