Skip to content

Commit

Permalink
Fix other typos
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre committed Nov 11, 2018
1 parent 25c47df commit 6b9f8ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 6b9f8ef

Please sign in to comment.