Passed
Push — master ( c6379d...282f72 )
by Jakub
01:58
created
src/DataProvider.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,15 +41,15 @@
 block discarded – undo
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 [];
Please login to merge, or discard this patch.