Skip to content

Conversation

@bshaffer
Copy link
Collaborator

@bshaffer bshaffer commented Aug 27, 2024

change

$options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : [];

to the equivalent but simpler / more readable:

$options = $this->descriptors[$methodName]['longRunning'] ?? [];

BEGIN_COMMIT_OVERRIDE
fix: remove unnecessary isset and use null coalescing operator instead (#726)
END_COMMIT_OVERRIDE

@bshaffer bshaffer requested a review from a team as a code owner August 27, 2024 21:05
@bshaffer bshaffer requested review from a team and Hectorhammett August 27, 2024 21:05
Copy link
Contributor

@Hectorhammett Hectorhammett left a comment

Choose a reason for hiding this comment

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

Angry approval

@bshaffer bshaffer merged commit da44e49 into main Jul 31, 2025
6 checks passed
@bshaffer bshaffer deleted the simplify-resumeOperation branch July 31, 2025 21:13
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