From da43b73afc13ee15fb7d9da37b03f00f292e2df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=BDoljom?= Date: Mon, 8 Jan 2024 09:21:46 +0100 Subject: [PATCH] Add the documentation for the PSR12 Return Type Declaration sniff --- .../ReturnTypeDeclarationStandard.xml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml diff --git a/src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml b/src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml new file mode 100644 index 0000000000..000459c33a --- /dev/null +++ b/src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml @@ -0,0 +1,41 @@ + + + + + + + string { + // Closure body. +}; + ]]> + + + string { + // Closure body. +}; + ]]> + + + + + : string { + // Function body. +}; + ]]> + + + : string { + // Function body. +}; + ]]> + + +