Skip to content

Commit 3146277

Browse files
authored
Merge pull request #8 from jsoumelidis/patch-2
Add type of output to getName function
2 parents ac12c44 + a97e37b commit 3146277

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)