Skip to content

Commit a97e37b

Browse files
dbritto-devjsoumelidis
authored andcommitted
Add type of output to getName function
1 parent ac12c44 commit a97e37b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/example_z.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class PartnerRepository extends SapFunction
55
#My system specific function, don't bother
66
const RFC_FUNCTION_NAME = 'Z_RFC_PARTNER_SELECT';
77

8-
public function getName()
8+
public function getName() : string
99
{
1010
return self::RFC_FUNCTION_NAME;
1111
}
@@ -33,4 +33,4 @@ public function getPartners($vatnum)
3333
$partners = $partnerRepository->getPartners('123456789');
3434

3535
print_r($partners);
36-
36+

0 commit comments

Comments
 (0)