Skip to content

Commit 401ac36

Browse files
committed
minor #10265 Small fix to syntax of Return Type Declaration (nicoweb)
This PR was merged into the 4.1 branch. Discussion ---------- Small fix to syntax of Return Type Declaration As in the PHP documentation: http://php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration Commits ------- 92b68a4 Small fix to syntax of Return Type Declaration
2 parents 315da6d + 92b68a4 commit 401ac36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ First, create your receiver::
237237
$this->filePath = $filePath;
238238
}
239239

240-
public function receive(callable $handler) : void
240+
public function receive(callable $handler): void
241241
{
242242
$ordersFromCsv = $this->serializer->deserialize(file_get_contents($this->filePath), 'csv');
243243

0 commit comments

Comments
 (0)