Repository navigation
[13.x] Fix incorrect values in descriptions and examples - #11388
Merged
taylorotwell merged 1 commit intoOct 1, 2026
Merged
Conversation
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A few values and descriptions in the docs don't match what Laravel 13.x actually uses.
The HTTP client comments describe server errors as
>500and client errors as>400 and <500, butserverError()checks for>= 500andclientError()checks for>= 400 && < 500. This means 500 and 400 responses are included.The
cache.headerssection says theetagdirective generates an MD5 hash of the content.SetCacheHeadersuseshash('xxh128', ...)instead, so the ETag forhelloisb5e9c1ad071b3e7fc779cfaa5e523818, not its MD5.The custom session handler documentation describes
$lifetimepassed togc()as a UNIX timestamp. It is actually the session lifetime in seconds, which is subtracted from the current time by both the file and database handlers.The DynamoDB batch pruning example uses
QUEUE_FAILED_DRIVERfor the batching driver, while the example above it and the default configuration useQUEUE_BATCHING_DRIVER.Finally, the
devcommand table still showsphp artisan serve --host=localhost. Since laravel/framework#61090, the server process is simplyphp artisan serve.These values and descriptions are updated to match the 13.x implementation.