Skip to content

Commit 42e47fc

Browse files
Narrow type
1 parent 91e7e08 commit 42e47fc

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/Framework/Constraint/IsAnything.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ final class IsAnything extends Constraint
2323
* If $returnResult is true, the result of the evaluation is returned as
2424
* a boolean value instead: true in case of success, false in case of a
2525
* failure.
26+
*
27+
* @throws void
2628
*/
2729
public function evaluate(mixed $other, string $description = '', bool $returnResult = false): ?bool
2830
{

src/Framework/MockObject/Runtime/Rule/AnyParameters.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
*/
1919
final class AnyParameters implements ParametersRule
2020
{
21+
/**
22+
* @throws void
23+
*/
2124
public function apply(BaseInvocation $invocation): void
2225
{
2326
}

src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function detected(): bool
3737
}
3838

3939
/**
40+
* @throws void
41+
*
4042
* @return non-empty-string
4143
*/
4244
public function version(): string

0 commit comments

Comments
 (0)