Skip to content

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
* Runs the given code, either swallowing or passing exceptions, depending on the `ignoreExceptions` setting.
*/
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

3 participants