Skip to content

[TASK] Use native type declarations in OutputFormatter #964

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

oliverklee
Copy link
Collaborator

Also improve a related type annotation.

Part of #811.

@coveralls
Copy link

coveralls commented Feb 20, 2025

Coverage Status

coverage: 51.654%. first build
when pulling cc51921 on task/types/outputformatter
into d7d9128 on main.

Also improve a related type annotation.

Part of #811.
@oliverklee oliverklee force-pushed the task/types/outputformatter branch from 27fb2b0 to cc51921 Compare February 20, 2025 10:22
*/
public function safely($cCode)
public function safely(callable $cCode): ?string
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 callable appears to be the correct parameter type, rather than string.

Comment on lines +29 to +30
(#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958,
#964)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for adding #958.

@JakeQZ JakeQZ merged commit ee3d57c into main Feb 20, 2025
21 checks passed
@JakeQZ JakeQZ deleted the task/types/outputformatter branch February 20, 2025 10:35
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