Added `Hyperf\Collection\Arr::sole()` method by huangdijia · Pull Request #7600 · hyperf/hyperf
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1.3k
Merged
limingxinleo merged 3 commits intohyperf:masterfrom
Nov 6, 2025Merged
Added Hyperf\Collection\Arr::sole() method#7600
limingxinleo merged 3 commits intohyperf:masterfrom
Added Hyperf\Collection\Arr::sole() method#7600
limingxinleo merged 3 commits intohyperf:masterfrom
Conversation
huangdijia added 3 commits
November 6, 2025 14:59将原有的条件判断逻辑替换为match表达式,提高代码可读性和简洁性
huangdijia
marked this pull request as ready for review
limingxinleo approved these changes Nov 6, 2025
huangdijia
deleted the
add-arr-helper
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment