Skip to content

Commit 1cd90c8

Browse files
authored
standardize ellipsis usage (#10187)
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.
1 parent 92f71c0 commit 1cd90c8

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

broadcasting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ If you customize the broadcast name using the `broadcastAs` method, you should m
500500
501501
```javascript
502502
.listen('.server.created', function (e) {
503-
....
503+
// ...
504504
});
505505
```
506506

passport.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -853,15 +853,15 @@ Then, attach the middleware to a route:
853853

854854
```php
855855
Route::get('/orders', function (Request $request) {
856-
...
856+
// ...
857857
})->middleware('client');
858858
```
859859

860860
To restrict access to the route to specific scopes, you may provide a comma-delimited list of the required scopes when attaching the `client` middleware to the route:
861861

862862
```php
863863
Route::get('/orders', function (Request $request) {
864-
...
864+
// ...
865865
})->middleware('client:check-status,your-scope');
866866
```
867867

queues.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ use Illuminate\Contracts\Queue\ShouldBeUnique;
288288

289289
class UpdateSearchIndex implements ShouldQueue, ShouldBeUnique
290290
{
291-
...
291+
// ...
292292
}
293293
```
294294

@@ -363,7 +363,7 @@ use Illuminate\Support\Facades\Cache;
363363

364364
class UpdateSearchIndex implements ShouldQueue, ShouldBeUnique
365365
{
366-
...
366+
// ...
367367

368368
/**
369369
* Get the cache driver for the unique job lock.

reverb.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ use Laravel\Reverb\Pulse\Recorders\ReverbMessages;
176176
'sample_rate' => 1,
177177
],
178178

179-
...
179+
// ...
180180
],
181181
```
182182

telescope.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Telescope "watchers" gather application data when a request or console command i
276276
'watchers' => [
277277
Watchers\CacheWatcher::class => true,
278278
Watchers\CommandWatcher::class => true,
279-
...
279+
// ...
280280
],
281281
```
282282

@@ -288,7 +288,7 @@ Some watchers also allow you to provide additional customization options:
288288
'enabled' => env('TELESCOPE_QUERY_WATCHER', true),
289289
'slow' => 100,
290290
],
291-
...
291+
// ...
292292
],
293293
```
294294

@@ -313,7 +313,7 @@ The command watcher records the arguments, options, exit code, and output whenev
313313
'enabled' => env('TELESCOPE_COMMAND_WATCHER', true),
314314
'ignore' => ['key:generate'],
315315
],
316-
...
316+
// ...
317317
],
318318
```
319319

@@ -343,7 +343,7 @@ The gate watcher records the data and result of [gate and policy](/docs/{{versio
343343
'enabled' => env('TELESCOPE_GATE_WATCHER', true),
344344
'ignore_abilities' => ['viewNova'],
345345
],
346-
...
346+
// ...
347347
],
348348
```
349349

@@ -391,7 +391,7 @@ The model watcher records model changes whenever an Eloquent [model event](/docs
391391
'enabled' => env('TELESCOPE_MODEL_WATCHER', true),
392392
'events' => ['eloquent.created*', 'eloquent.updated*'],
393393
],
394-
...
394+
// ...
395395
],
396396
```
397397

@@ -404,7 +404,7 @@ If you would like to record the number of models hydrated during a given request
404404
'events' => ['eloquent.created*', 'eloquent.updated*'],
405405
'hydrations' => true,
406406
],
407-
...
407+
// ...
408408
],
409409
```
410410

@@ -424,7 +424,7 @@ The query watcher records the raw SQL, bindings, and execution time for all quer
424424
'enabled' => env('TELESCOPE_QUERY_WATCHER', true),
425425
'slow' => 50,
426426
],
427-
...
427+
// ...
428428
],
429429
```
430430

@@ -444,7 +444,7 @@ The request watcher records the request, headers, session, and response data ass
444444
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
445445
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
446446
],
447-
...
447+
// ...
448448
],
449449
```
450450

0 commit comments

Comments
 (0)