We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e4d39e commit 3d6e232Copy full SHA for 3d6e232
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 = []): mixed
10
11
if (preg_match('/^(to|notTo)(.+)$/', $method, $matches)) {
12
$method = 'should' . $matches[2];
0 commit comments