Skip to content

Fix typo in Sleep::microsecond() PHPDoc comment#60085

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
rpsohag:fix/sleep-docstring-typo
May 13, 2026
Merged

Fix typo in Sleep::microsecond() PHPDoc comment#60085
taylorotwell merged 1 commit into
laravel:13.xfrom
rpsohag:fix/sleep-docstring-typo

Conversation

@rpsohag
Copy link
Copy Markdown

@rpsohag rpsohag commented May 12, 2026

Summary

  • Fixed typo in Sleep::microsecond() PHPDoc comment
  • Changed "Sleep for on microsecond" to "Sleep for one microsecond"

Why

The comment was inconsistent with similar methods:

  • minute() → "Sleep for one minute."
  • second() → "Sleep for one second."
  • millisecond() → "Sleep for one millisecond."
  • microsecond() → "Sleep for on microsecond." ❌

This fix improves documentation consistency.

Change

  • Documentation only (no behavior change)
  • No tests required (PHPDoc comment)

The PHPDoc comment said "Sleep for on microsecond" instead of
"Sleep for one microsecond", which was inconsistent with similar
methods like minute(), second(), and millisecond().
@taylorotwell taylorotwell merged commit 7d4b110 into laravel:13.x May 13, 2026
54 checks passed
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