@@ -41,15 +41,15 @@ |
||
41 | 41 | try { |
42 | 42 | $reflection = new ReflectionMethod($class, $dataProvider); |
43 | 43 | if (!$reflection->isPublic()) { |
44 | - throw new InvalidDataProviderException("Method $className::$dataProvider is not public."); |
|
44 | + throw new InvalidDataProviderException("method $className::$dataProvider is not public."); |
|
45 | 45 | } |
46 | 46 | $result = call_user_func([$class, $dataProvider]); // @phpstan-ignore argument.type |
47 | 47 | if (!is_array($result)) { |
48 | - throw new InvalidDataProviderException("Method $className::$dataProvider has to return an array."); |
|
48 | + throw new InvalidDataProviderException("method $className::$dataProvider has to return an array."); |
|
49 | 49 | } |
50 | 50 | return $result; |
51 | 51 | } catch (\ReflectionException $e) { |
52 | - throw new InvalidDataProviderException("Method $className::$dataProvider does not exist.", 0, $e); |
|
52 | + throw new InvalidDataProviderException("method $className::$dataProvider does not exist.", 0, $e); |
|
53 | 53 | } |
54 | 54 | } |
55 | 55 | return []; |