From 20d8c74bfed449bd3869dba064b442cc9f214060 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Thu, 29 Dec 2016 22:47:05 +0100 Subject: [PATCH] Fixed @return when returning this or static #bis --- src/Symfony/Component/Console/Helper/Table.php | 2 +- .../Component/DependencyInjection/Definition.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Symfony/Component/Console/Helper/Table.php b/src/Symfony/Component/Console/Helper/Table.php index 77d21ca83b02e..d622294ed4cb1 100644 --- a/src/Symfony/Component/Console/Helper/Table.php +++ b/src/Symfony/Component/Console/Helper/Table.php @@ -145,7 +145,7 @@ public function getStyle() * @param int $columnIndex Column index * @param TableStyle|string $name The style name or a TableStyle instance * - * @return self + * @return $this */ public function setColumnStyle($columnIndex, $name) { diff --git a/src/Symfony/Component/DependencyInjection/Definition.php b/src/Symfony/Component/DependencyInjection/Definition.php index 3441ebe6c9891..a002df28753b1 100644 --- a/src/Symfony/Component/DependencyInjection/Definition.php +++ b/src/Symfony/Component/DependencyInjection/Definition.php @@ -547,7 +547,7 @@ public function getFile() * * @param bool $shared Whether the service must be shared or not * - * @return self + * @return $this */ public function setShared($shared) { @@ -749,7 +749,7 @@ public function isAbstract() * @param bool $status * @param string $template Template message to use if the definition is deprecated * - * @return self + * @return $this * * @throws InvalidArgumentException When the message template is invalid. */ @@ -824,7 +824,7 @@ public function getConfigurator() * * @param string[] $types * - * @return self + * @return $this */ public function setAutowiringTypes(array $types) { @@ -852,7 +852,7 @@ public function isAutowired() * * @param bool $autowired * - * @return self + * @return $this */ public function setAutowired($autowired) { @@ -876,7 +876,7 @@ public function getAutowiringTypes() * * @param string $type * - * @return self + * @return $this */ public function addAutowiringType($type) { @@ -890,7 +890,7 @@ public function addAutowiringType($type) * * @param string $type * - * @return self + * @return $this */ public function removeAutowiringType($type) {