@@ -19,7 +19,7 @@ trait TestCaseTrait
19
19
* Return the name of the class, used for testing.
20
20
* @return string
21
21
*/
22
- public static function getClassName ()
22
+ public static function getClassName (): string
23
23
{
24
24
return SapRfc::class;
25
25
}
@@ -28,7 +28,7 @@ public static function getClassName()
28
28
* Get the name of the PHP module.
29
29
* @return string
30
30
*/
31
- public static function getModuleName ()
31
+ public static function getModuleName (): string
32
32
{
33
33
return 'sapnwrfc ' ;
34
34
}
@@ -37,7 +37,7 @@ public static function getModuleName()
37
37
* Get the path to the PHP/SAP configuration file.
38
38
* @return string
39
39
*/
40
- public static function getSapConfigFile ()
40
+ public static function getSapConfigFile (): string
41
41
{
42
42
return dirname (__DIR__ ) . DIRECTORY_SEPARATOR . 'config ' . DIRECTORY_SEPARATOR . 'sap.json ' ;
43
43
}
@@ -46,7 +46,7 @@ public static function getSapConfigFile()
46
46
* Get the path to the filename containing the SAP RFC module mockups.
47
47
* @return string
48
48
*/
49
- public static function getModuleTemplateFile ()
49
+ public static function getModuleTemplateFile (): string
50
50
{
51
51
return dirname (__DIR__ ) . DIRECTORY_SEPARATOR . 'helper ' . DIRECTORY_SEPARATOR . 'SAPNWRFC.php ' ;
52
52
}
@@ -55,7 +55,7 @@ public static function getModuleTemplateFile()
55
55
* Get an array of valid SAP RFC module function or class method names.
56
56
* @return array
57
57
*/
58
- public static function getValidModuleFunctions ()
58
+ public static function getValidModuleFunctions (): array
59
59
{
60
60
return [
61
61
'clearFunctionDescCache ' ,
0 commit comments