From 6e354bb7151cc05da46917e0d6a20ba4edffd55d Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Wed, 19 Feb 2025 15:37:38 -0600 Subject: [PATCH] standardize ellipsis usage in order to indicate "more content" or "content not relevant to example", we often use an ellipsis. in PHP and other languages, this pattern actually is relevant to the language. this change standardizes usage of the ellipsis for the above examples to be in a comment. this give us valid PHP and Javascipt, and reduced ambiguity with the language construct. --- broadcasting.md | 2 +- passport.md | 4 ++-- queues.md | 4 ++-- reverb.md | 2 +- telescope.md | 16 ++++++++-------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/broadcasting.md b/broadcasting.md index cc6b664619..a0bd1ab3e0 100644 --- a/broadcasting.md +++ b/broadcasting.md @@ -500,7 +500,7 @@ If you customize the broadcast name using the `broadcastAs` method, you should m ```javascript .listen('.server.created', function (e) { - .... + // ... }); ``` diff --git a/passport.md b/passport.md index 26729dd3ec..262228c3f8 100644 --- a/passport.md +++ b/passport.md @@ -853,7 +853,7 @@ Then, attach the middleware to a route: ```php Route::get('/orders', function (Request $request) { - ... + // ... })->middleware('client'); ``` @@ -861,7 +861,7 @@ To restrict access to the route to specific scopes, you may provide a comma-deli ```php Route::get('/orders', function (Request $request) { - ... + // ... })->middleware('client:check-status,your-scope'); ``` diff --git a/queues.md b/queues.md index 7f17862d42..aae4cba466 100644 --- a/queues.md +++ b/queues.md @@ -288,7 +288,7 @@ use Illuminate\Contracts\Queue\ShouldBeUnique; class UpdateSearchIndex implements ShouldQueue, ShouldBeUnique { - ... + // ... } ``` @@ -363,7 +363,7 @@ use Illuminate\Support\Facades\Cache; class UpdateSearchIndex implements ShouldQueue, ShouldBeUnique { - ... + // ... /** * Get the cache driver for the unique job lock. diff --git a/reverb.md b/reverb.md index 49f2d3e60a..4b8c0c1ac3 100644 --- a/reverb.md +++ b/reverb.md @@ -176,7 +176,7 @@ use Laravel\Reverb\Pulse\Recorders\ReverbMessages; 'sample_rate' => 1, ], - ... + // ... ], ``` diff --git a/telescope.md b/telescope.md index 4365ffcba6..7b82058b64 100644 --- a/telescope.md +++ b/telescope.md @@ -276,7 +276,7 @@ Telescope "watchers" gather application data when a request or console command i 'watchers' => [ Watchers\CacheWatcher::class => true, Watchers\CommandWatcher::class => true, - ... + // ... ], ``` @@ -288,7 +288,7 @@ Some watchers also allow you to provide additional customization options: 'enabled' => env('TELESCOPE_QUERY_WATCHER', true), 'slow' => 100, ], - ... + // ... ], ``` @@ -313,7 +313,7 @@ The command watcher records the arguments, options, exit code, and output whenev 'enabled' => env('TELESCOPE_COMMAND_WATCHER', true), 'ignore' => ['key:generate'], ], - ... + // ... ], ``` @@ -343,7 +343,7 @@ The gate watcher records the data and result of [gate and policy](/docs/{{versio 'enabled' => env('TELESCOPE_GATE_WATCHER', true), 'ignore_abilities' => ['viewNova'], ], - ... + // ... ], ``` @@ -391,7 +391,7 @@ The model watcher records model changes whenever an Eloquent [model event](/docs 'enabled' => env('TELESCOPE_MODEL_WATCHER', true), 'events' => ['eloquent.created*', 'eloquent.updated*'], ], - ... + // ... ], ``` @@ -404,7 +404,7 @@ If you would like to record the number of models hydrated during a given request 'events' => ['eloquent.created*', 'eloquent.updated*'], 'hydrations' => true, ], - ... + // ... ], ``` @@ -424,7 +424,7 @@ The query watcher records the raw SQL, bindings, and execution time for all quer 'enabled' => env('TELESCOPE_QUERY_WATCHER', true), 'slow' => 50, ], - ... + // ... ], ``` @@ -444,7 +444,7 @@ The request watcher records the request, headers, session, and response data ass 'enabled' => env('TELESCOPE_REQUEST_WATCHER', true), 'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64), ], - ... + // ... ], ```