Skip to content

Commit

Permalink
fix(docs): fix a typo in README (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Mar 21, 2024
1 parent b4afadf commit 3807f6b
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 @@ -44,7 +44,7 @@ You can filter classes using the methods exposed by `FinderInterface`:
of the given class.
- `annontatedBy(string $annotationClass)`: Finds all the classes that have
the given annotation in the class docblock.
- `withAttribtue(string $attributeClass)`: Finds all the classes that have
- `withAttribute(string $attributeClass)`: Finds all the classes that have
the given attribute applied on the class (PHP >= 8.0) only.
- `in(array $dirs)`: Searches only in given directories.
- `inNamespace(array $namespaces)`: Searches only in given namespaces.
Expand Down
2 changes: 1 addition & 1 deletion docs/finder.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Criteria can be added to the finder using the following methods:
You can pass a single interface as string.
- `subclassOf(string $superClass)` - Only the classes that are subclasses of the given class will be yielded.
- `annontatedBy(string $annotationClass)` - Finds all the classes that have the given annotation in the class docblock.
- `withAttribtue(string $attributeClass)` - Finds all the classes that have the given attribute applied on the
- `withAttribute(string $attributeClass)` - Finds all the classes that have the given attribute applied on the
class (PHP >= 8.0) only. NOTE: This will not work with php documentor finder as attributes support has been not
implemented yet ([here's the relevant issue](https://github.com/phpDocumentor/Reflection/issues/185))
- `in(array $dirs)` - Searches only in given directories.
Expand Down

0 comments on commit 3807f6b

Please sign in to comment.