Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

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