Skip to content

Commit

Permalink
Merge pull request #8 from jsoumelidis/patch-2
Browse files Browse the repository at this point in the history
Add type of output to getName function
  • Loading branch information
jsoumelidis authored Jan 31, 2019
2 parents ac12c44 + a97e37b commit 3146277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example_z.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class PartnerRepository extends SapFunction
#My system specific function, don't bother
const RFC_FUNCTION_NAME = 'Z_RFC_PARTNER_SELECT';

public function getName()
public function getName() : string
{
return self::RFC_FUNCTION_NAME;
}
Expand Down Expand Up @@ -33,4 +33,4 @@ public function getPartners($vatnum)
$partners = $partnerRepository->getPartners('123456789');

print_r($partners);


0 comments on commit 3146277

Please sign in to comment.