update stan by LordSimal · Pull Request #1029 · cakephp/debug_kit · GitHub
Skip to content

update stan#1029

Merged
markstory merged 1 commit into
5.xfrom
5.x-update-stan
Nov 18, 2024
Merged

update stan#1029
markstory merged 1 commit into
5.xfrom
5.x-update-stan

Conversation

@LordSimal

Copy link
Copy Markdown
Contributor

No description provided.

@LordSimal LordSimal added this to the 5.x milestone Nov 17, 2024
Comment thread src/Panel/RoutesPanel.php

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This line either must return the controller object or throws an exception, if no subject is present. Therefore the whole nullable checks are not needed anymore.

Comment thread src/Panel/SqlLogPanel.php

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm.. 4.x allowed the ConnectionManager to hold connection instances which did not implement ConnectionInterface, for e.g. https://github.com/UseMuffin/Webservice/blob/6376dc722529d888c4750793f0b286a8acd9fd71/src/Datasource/Connection.php#L19.

Guess we killed that in 5.0 by adding ConnnectionInterface as return type for ConnectionManager::get().

@markstory markstory merged commit bf377ad into 5.x Nov 18, 2024
@markstory markstory deleted the 5.x-update-stan branch November 18, 2024 02:34
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.

3 participants