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