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 a typo in README #16

Merged
merged 2 commits into from
Mar 21, 2024
Merged
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 @@ -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
Loading