Skip to content

Commit 211f919

Browse files
committed
Documentation: various minor fixes
... collected along the way.
1 parent aee74bb commit 211f919

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PHPCSUtils/Exceptions/TestTargetNotFound.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ final class TestTargetNotFound extends OutOfBoundsException
2525
*
2626
* @since 1.0.0
2727
*
28-
* @param string $marker The delimiter comment.
29-
* @param string $content The (optional) target token content.
30-
* @param string $file The file in which the target token was not found.
28+
* @param string $marker The delimiter comment.
29+
* @param string|null $content The (optional) target token content.
30+
* @param string $file The file in which the target token was not found.
3131
*
3232
* @return \PHPCSUtils\Exceptions\TestTargetNotFound
3333
*/

PHPCSUtils/Utils/PassedParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class PassedParameters
5656
* - If passed a `T_ANON_CLASS` stack pointer, it will accept it as a class instantiation.
5757
* - If passed a `T_SELF`, `T_STATIC` or `T_PARENT` stack pointer, it will accept it as a
5858
* class instantiation function call when used like `new self()` (with or without parentheses).
59-
* When these hierarchiecal keywords are not preceded by the `new` keyword, parentheses
59+
* When these hierarchical keywords are not preceded by the `new` keyword, parentheses
6060
* will be required for the token to be accepted.
6161
* - If passed a `T_ARRAY` or `T_OPEN_SHORT_ARRAY` stack pointer, it will detect
6262
* whether the array has values or is empty.

0 commit comments

Comments
 (0)