Skip to content

Commit

Permalink
spelling and grammar updates (#1403)
Browse files Browse the repository at this point in the history
- "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
  • Loading branch information
browner12 authored Mar 2, 2024
1 parent ec78ceb commit 6fd181a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/DataCollector/FilesCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function collect()
} 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,
];
}
Expand Down
2 changes: 1 addition & 1 deletion src/DataCollector/LivewireCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(Request $request)
/** @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 = [
Expand Down
2 changes: 1 addition & 1 deletion src/DataCollector/QueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public function collect()
'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'};
Expand Down
4 changes: 2 additions & 2 deletions src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -953,7 +953,7 @@ public function injectDebugbar(Response $response)
$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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/FilesystemStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function makeFilename($id)
}

/**
* Delete files older then a certain age (gc_lifetime)
* Delete files older than a certain age (gc_lifetime)
*/
protected function garbageCollect()
{
Expand Down

0 comments on commit 6fd181a

Please sign in to comment.