From 19fd71eadd5015f9d5a1c7ed0675c93670c800b0 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 6 Mar 2019 18:22:06 +0100 Subject: [PATCH] removed some unneded phpdocs --- src/Environment.php | 6 +++--- src/Extension/CoreExtension.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Environment.php b/src/Environment.php index a74f2cd06..2f6be7eb6 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -1140,7 +1140,7 @@ class Environment * * @param string $name The filter name * - * @return \Twig_Filter|false A \Twig_Filter instance or false if the filter does not exist + * @return \Twig_Filter|false * * @internal */ @@ -1248,7 +1248,7 @@ class Environment * * @param string $name The test name * - * @return \Twig_Test|false A \Twig_Test instance or false if the test does not exist + * @return \Twig_Test|false * * @internal */ @@ -1312,7 +1312,7 @@ class Environment * * @param string $name function name * - * @return \Twig_Function|false A \Twig_Function instance or false if the function does not exist + * @return \Twig_Function|false * * @internal */ diff --git a/src/Extension/CoreExtension.php b/src/Extension/CoreExtension.php index ac886ffca..28e2f8cf2 100644 --- a/src/Extension/CoreExtension.php +++ b/src/Extension/CoreExtension.php @@ -429,7 +429,7 @@ function twig_date_format_filter(Environment $env, $date, $format = null, $timez * @param \DateTime|string $date A date * @param string $modifier A modifier string * - * @return \DateTime A new date object + * @return \DateTime */ function twig_date_modify_filter(Environment $env, $date, $modifier) { @@ -452,7 +452,7 @@ function twig_date_modify_filter(Environment $env, $date, $modifier) * @param \DateTime|\DateTimeInterface|string|null $date A date * @param \DateTimeZone|string|false|null $timezone The target timezone, null to use the default, false to leave unchanged * - * @return \DateTime A \DateTime instance + * @return \DateTime */ function twig_date_converter(Environment $env, $date = null, $timezone = null) {