Skip to content

Commit 6fd181a

Browse files
authored
spelling and grammar updates (#1403)
- "a" should be before words that start with a consonant *sound*, not necessarily letter. - I capitalized "EXPLAIN" to make it more clear we are talking about a query
1 parent ec78ceb commit 6fd181a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/DataCollector/FilesCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function collect()
5050
} else {
5151
$alreadyCompiled[] = [
5252
'message' => "* '" . $this->stripBasePath($file) . "',",
53-
// Mark with *, so know they are compiled anyways.
53+
// Mark with *, so know they are compiled anyway.
5454
'is_string' => true,
5555
];
5656
}

src/DataCollector/LivewireCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(Request $request)
2828
/** @var \Livewire\Component $component */
2929
$component = $view->getData()['_instance'];
3030

31-
// Create an unique name for each compoent
31+
// Create a unique name for each component
3232
$key = $component->getName() . ' #' . $component->id;
3333

3434
$data = [

src/DataCollector/QueryCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public function collect()
531531
'connection' => $query['connection'],
532532
];
533533

534-
// Add the results from the explain as new rows
534+
// Add the results from the EXPLAIN as new rows
535535
if ($query['driver'] === 'pgsql') {
536536
$explainer = trim(implode("\n", array_map(function ($explain) {
537537
return $explain->{'QUERY PLAN'};

src/LaravelDebugbar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class LaravelDebugbar extends DebugBar
8484
protected $booted = false;
8585

8686
/**
87-
* True when enabled, false disabled an null for still unknown
87+
* True when enabled, false disabled on null for still unknown
8888
*
8989
* @var bool
9090
*/
@@ -953,7 +953,7 @@ public function injectDebugbar(Response $response)
953953
$response->setContent($content);
954954
$response->headers->remove('Content-Length');
955955

956-
// Restore original response (eg. the View or Ajax data)
956+
// Restore original response (e.g. the View or Ajax data)
957957
if ($original) {
958958
$response->original = $original;
959959
}

src/Storage/FilesystemStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function makeFilename($id)
6363
}
6464

6565
/**
66-
* Delete files older then a certain age (gc_lifetime)
66+
* Delete files older than a certain age (gc_lifetime)
6767
*/
6868
protected function garbageCollect()
6969
{

0 commit comments

Comments
 (0)