Skip to content

Add missing return type (1.x)#23

Closed
zarunet wants to merge 1 commit intoarchtechx:1.xfrom
zarunet:1.x
Closed

Add missing return type (1.x)#23
zarunet wants to merge 1 commit intoarchtechx:1.xfrom
zarunet:1.x

Conversation

@zarunet
Copy link
Copy Markdown
Contributor

@zarunet zarunet commented Jul 19, 2025

This adds the self return type to JobPipeline::shouldBeQueued() so that static analyzers won't get confused and treat its return value as mixed.

thought: since JobPipeline is not final, the static might be a better fit than self. However, the latter is already in use elsewhere, so I went with that. I can amend the PR to use static if desired :)

PR for 2.x: #24

This adds the `self` return type to `JobPipeline::shouldBeQueued()` so that static analyzers won't get confused and treat its return value as `mixed`.
@stancl
Copy link
Copy Markdown
Member

stancl commented Jul 29, 2025

c4ba5ef

@stancl stancl closed this Jul 29, 2025
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.

2 participants