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