Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add freezeTime/freezeSecond helpers #32

Merged
merged 1 commit into from Dec 27, 2022
Merged

Add freezeTime/freezeSecond helpers #32

merged 1 commit into from Dec 27, 2022

Conversation

binotaliu
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Fixed tickets #...

These two helpers, freezeTime, and freezeSecond, were added to Laravel in laravel/framework#41460. This PR added them to src/Time.php.

src/Time.php Outdated Show resolved Hide resolved
src/Time.php Outdated Show resolved Hide resolved
@nunomaduro nunomaduro merged commit d6b8590 into pestphp:2.x Dec 27, 2022
@binotaliu binotaliu deleted the feature/time-freeze-helpers branch December 27, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants