@@ -19,10 +19,10 @@ public function testCreateCorrect(string $path, RouteRulesProvider $routeRulesPr
1919        $ this  ->assertTrue (is_a ($ actual , $ expected ));
2020    }
2121
22-     public  function  correctDataProvider ()
22+     public  static   function  correctDataProvider ():  array 
2323    {
24-         $ routeRulesProviderWithoutApiVersion  = $ this -> getRouteRulesProviderWithoutApiVersion ();
25-         $ routeRulesProviderWithApiVersion  = $ this -> getRouteRulesProviderWithApiVersion ();
24+         $ routeRulesProviderWithoutApiVersion  = self :: getRouteRulesProviderWithoutApiVersion ();
25+         $ routeRulesProviderWithApiVersion  = self :: getRouteRulesProviderWithApiVersion ();
2626        $ uuid  = Uuid::uuid4 ()->toString ();
2727
2828        return  [
@@ -49,10 +49,10 @@ public function testCreateIncorrect(string $path, RouteRulesProvider $routeRules
4949        $ factory ->create ($ path );
5050    }
5151
52-     public  function  incorrectDataProvider ()
52+     public  static   function  incorrectDataProvider ():  array 
5353    {
54-         $ routeRulesProviderWithoutApiVersion  = $ this -> getRouteRulesProviderWithoutApiVersion ();
55-         $ routeRulesProviderWithApiVersion  = $ this -> getRouteRulesProviderWithApiVersion ();
54+         $ routeRulesProviderWithoutApiVersion  = self :: getRouteRulesProviderWithoutApiVersion ();
55+         $ routeRulesProviderWithApiVersion  = self :: getRouteRulesProviderWithApiVersion ();
5656        $ uuid  = Uuid::uuid4 ()->toString ();
5757
5858        return  [
@@ -91,7 +91,7 @@ private function getMappingProvider(): MappingConfigProvider
9191        );
9292    }
9393
94-     private  function  getRouteRulesProviderWithoutApiVersion (): RouteRulesProvider 
94+     private  static   function  getRouteRulesProviderWithoutApiVersion (): RouteRulesProvider 
9595    {
9696        $ resourceRegex  = '([a-z][A-Za-z\d]+) ' ;
9797        $ hexRegex  = '[\da-f] ' ;
@@ -108,7 +108,7 @@ private function getRouteRulesProviderWithoutApiVersion(): RouteRulesProvider
108108        );
109109    }
110110
111-     private  function  getRouteRulesProviderWithApiVersion (): RouteRulesProvider 
111+     private  static   function  getRouteRulesProviderWithApiVersion (): RouteRulesProvider 
112112    {
113113        $ versionRegex  = '(v\d+) ' ;
114114        $ resourceRegex  = '([a-z][A-Za-z\d]+) ' ;
0 commit comments