Skip to content

Commit b83201a

Browse files
mnoconViniTou
andauthored
Update code_samples/api/rest_api/src/Rest/InputParser/GreetingInput.php
Co-authored-by: Dawid Parafiński <[email protected]>
1 parent 5cbc48b commit b83201a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_samples/api/rest_api/src/Rest/InputParser/GreetingInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class GreetingInput extends BaseParser
1111
{
12-
public function parse(array $data, ParsingDispatcher $parsingDispatcher): mixed
12+
public function parse(array $data, ParsingDispatcher $parsingDispatcher): Greeting
1313
{
1414
if (!isset($data['Salutation'])) {
1515
throw new Exceptions\Parser("Missing or invalid 'Salutation' element for Greeting.");

0 commit comments

Comments
 (0)