Skip to content

Commit

Permalink
#2407 - Add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 2, 2023
1 parent 3d46965 commit c618155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Backend/FcallManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class FcallManager implements FcallManagerInterface
*
* @return string
*/
public function getMacro($static, $doReturn, $paramCount)
public function getMacro($static, $doReturn, $paramCount): string
{
$scope = $static ? 'STATIC' : '';
$mode = 'CALL_INTERNAL_METHOD_NORETURN_P';
Expand All @@ -50,7 +50,7 @@ public function getMacro($static, $doReturn, $paramCount)
return $macroName;
}

public function genFcallCode()
public function genFcallCode(): void
{
$codePrinter = new CodePrinter();

Expand Down

0 comments on commit c618155

Please sign in to comment.