Skip to content

Commit 2809074

Browse files
authored
Merge pull request #614 from PHPCSStandards/feature/docs-various-fixes
Docs: various minor fixes
2 parents 335318f + 35e259b commit 2809074

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public static function determineLoadedClass($classesBeforeLoad, $classesAfterLoa
204204
}
205205

206206
// Since PHP 7.4 get_declared_classes() does not guarantee any order, making
207-
// it impossible to use order to determine which is the parent an which is the child.
207+
// it impossible to use order to determine which is the parent and which is the child.
208208
// Let's reduce the list of candidates by removing all the classes known to be "parents".
209209
// That way, at the end, only the "main" class just included will remain.
210210
$newClasses = array_reduce(

src/Tokenizers/PHP.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ protected function tokenize($string)
737737
}
738738

739739
/*
740-
Close an open "inside constant declaration" marker when no keyword convertion was needed.
740+
Close an open "inside constant declaration" marker when no keyword conversion was needed.
741741
*/
742742

743743
if ($insideConstDeclaration === true

src/Util/Common.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public static function isCamelCaps(
420420
*/
421421
public static function isUnderscoreName($string)
422422
{
423-
// If there are space in the name, it can't be valid.
423+
// If there is whitespace in the name, it can't be valid.
424424
if (strpos($string, ' ') !== false) {
425425
return false;
426426
}

0 commit comments

Comments
 (0)