We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e4d39e commit fd89b1aCopy full SHA for fd89b1a
src/Subject.php
@@ -6,7 +6,7 @@
6
7
class Subject extends BaseSubject
8
{
9
- public function __call(string $method, array $arguments = [])
+ public function __call(string $method, array $arguments = []): Subject
10
11
if (preg_match('/^(to|notTo)(.+)$/', $method, $matches)) {
12
$method = 'should' . $matches[2];
0 commit comments