Skip to content

Commit 6b9f8ef

Browse files
committed
Fix other typos
1 parent 25c47df commit 6b9f8ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Definitions resolved just-in-time when needed:
8686
Not supported yet:
8787
- constants with `define()`
8888

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

9292
### What is considered a reference?

src/DefinitionResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ public function getTypeFromNode($node)
10911091

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

0 commit comments

Comments
 (0)