Skip to content

[8.x] fortify.md #6979

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

Merged
merged 1 commit into from
Apr 12, 2021
Merged

[8.x] fortify.md #6979

merged 1 commit into from
Apr 12, 2021

Conversation

bytefather
Copy link
Contributor

There are a small documentation inconsistencies for declaring views. Some code examples are in php 7.4 syntax instead of 7.3.
And, having in mind, that Laravel 8 minimum requirement is php 7.3, then syntax from php 7.4 (new features) are not correct in this context.

Code examples that are NOT OK (7.4 syntax used - closure), are for:

Code examples that are OK (7.3 syntax), are for:

I did not check the whole documentation, so please do that in the context of php syntax (to be valid with php 7.3).
Thank you, and best wishes.

There are a small documentation inconsistencies for declaring views. Some code examples are in php 7.4 syntax instead of 7.3. 
And, having in mind, that Laravel 8 minimum requirement is php 7.3, then syntax from php 7.4 (new features) are not correct in this context.

Code examples that are NOT OK (7.4 syntax used - closure), are for:
- Login (https://laravel.com/docs/8.x/fortify#authentication)
- Registration (https://laravel.com/docs/8.x/fortify#registration)
- Email Verification (https://laravel.com/docs/8.x/fortify#email-verification)

Code examples that are OK (7.3 syntax), are for:
- Requesting A Password Reset Link (https://laravel.com/docs/8.x/fortify#requesting-a-password-reset-link)
- Resetting The Password (https://laravel.com/docs/8.x/fortify#resetting-the-password) 
- ... 

I did not check the whole documentation, so please do that in the context of php syntax (to be valid with php 7.3). 
Thank you, and best wishes.
@driesvints driesvints changed the title fortify.md [8.x] fortify.md Apr 12, 2021
@taylorotwell taylorotwell merged commit 0564e04 into laravel:8.x Apr 12, 2021
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