Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in comments detected by the misspell tool #667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Definitions resolved just-in-time when needed:
Not supported yet:
- constants with `define()`

Namespaces are not considerd a declaration by design because they only make up a part of the fully qualified name
Namespaces are not considered a declaration by design because they only make up a part of the fully qualified name
and don't map to one unique declaration.

### What is considered a reference?
Expand Down
2 changes: 1 addition & 1 deletion src/DefinitionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ public function getTypeFromNode($node)

$parameterDocBlockTag = $this->tryGetDocBlockTagForParameter($docBlock, $variableName);
if ($parameterDocBlockTag !== null && ($type = $parameterDocBlockTag->getType())) {
// Doc block comments supercede all other forms of type inference
// Doc block comments supersede all other forms of type inference
return $type;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Indexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function __construct(
}

/**
* Will read and parse the passed source files in the project and add them to the appropiate indexes
* Will read and parse the passed source files in the project and add them to the appropriate indexes
*
* @return Promise <void>
*/
Expand Down