Skip to content

Commit

Permalink
fix: php 8 boolean alias no more supported - use bool instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Jan 25, 2022
1 parent de27d0c commit 5cbca29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/receiveKomment.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function setAvatarFromEmail(string $email)
return null;
}

public function sendReponseToClient(string $headlineTranslationString, string $messageTranslationString, number $httpCode, boolean $shouldReturnJson)
public function sendReponseToClient(string $headlineTranslationString, string $messageTranslationString, int $httpCode, bool $shouldReturnJson)
{
if ($shouldReturnJson) {
$response = [
Expand Down

0 comments on commit 5cbca29

Please sign in to comment.