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
This commit is contained in:
Andrew Brown 2024-03-02 04:12:01 -06:00 committed by GitHub
parent ec78ceb95a
commit 6fd181adc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ class FilesCollector extends DataCollector implements Renderable
} else {
$alreadyCompiled[] = [
'message' => "* '" . $this->stripBasePath($file) . "',",
// Mark with *, so know they are compiled anyways.
// Mark with *, so know they are compiled anyway.
'is_string' => true,
];
}

View File

@ -28,7 +28,7 @@ class LivewireCollector extends DataCollector implements DataCollectorInterface,
/** @var \Livewire\Component $component */
$component = $view->getData()['_instance'];
// Create an unique name for each compoent
// Create a unique name for each component
$key = $component->getName() . ' #' . $component->id;
$data = [

View File

@ -531,7 +531,7 @@ class QueryCollector extends PDOCollector
'connection' => $query['connection'],
];
// Add the results from the explain as new rows
// Add the results from the EXPLAIN as new rows
if ($query['driver'] === 'pgsql') {
$explainer = trim(implode("\n", array_map(function ($explain) {
return $explain->{'QUERY PLAN'};

View File

@ -84,7 +84,7 @@ class LaravelDebugbar extends DebugBar
protected $booted = false;
/**
* True when enabled, false disabled an null for still unknown
* True when enabled, false disabled on null for still unknown
*
* @var bool
*/
@ -953,7 +953,7 @@ class LaravelDebugbar extends DebugBar
$response->setContent($content);
$response->headers->remove('Content-Length');
// Restore original response (eg. the View or Ajax data)
// Restore original response (e.g. the View or Ajax data)
if ($original) {
$response->original = $original;
}

View File

@ -63,7 +63,7 @@ class FilesystemStorage implements StorageInterface
}
/**
* Delete files older then a certain age (gc_lifetime)
* Delete files older than a certain age (gc_lifetime)
*/
protected function garbageCollect()
{