Skip to content

Commit 94bdb3b

Browse files
committed
remove expectation return type
1 parent 009e33c commit 94bdb3b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/Autoload.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Faissaloux\PestMath;
66

7-
use Pest\Mixins\Expectation;
8-
9-
expect()->extend('toBeDivisibleBy', function (int $divisor): Expectation {
7+
expect()->extend('toBeDivisibleBy', function (int $divisor) {
108
return expect($this->value % $divisor === 0)->toBeTrue();
119
});

0 commit comments

Comments
 (0)