Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd8750e

Browse files
committed
minor #21100 Fixed @return when returning this or static #bis (ogizanagi)
This PR was merged into the 2.8 branch. Discussion ---------- Fixed @return when returning this or static #bis | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A For some reasons these weren't fixed before #21059 was merged despite the review comments 😆 Commits ------- 20d8c74 Fixed @return when returning this or static #bis
2 parents afa1f45 + 20d8c74 commit fd8750e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Symfony/Component/Console/Helper/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function getStyle()
145145
* @param int $columnIndex Column index
146146
* @param TableStyle|string $name The style name or a TableStyle instance
147147
*
148-
* @return self
148+
* @return $this
149149
*/
150150
public function setColumnStyle($columnIndex, $name)
151151
{

src/Symfony/Component/DependencyInjection/Definition.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ public function getFile()
547547
*
548548
* @param bool $shared Whether the service must be shared or not
549549
*
550-
* @return self
550+
* @return $this
551551
*/
552552
public function setShared($shared)
553553
{
@@ -749,7 +749,7 @@ public function isAbstract()
749749
* @param bool $status
750750
* @param string $template Template message to use if the definition is deprecated
751751
*
752-
* @return self
752+
* @return $this
753753
*
754754
* @throws InvalidArgumentException When the message template is invalid.
755755
*/
@@ -824,7 +824,7 @@ public function getConfigurator()
824824
*
825825
* @param string[] $types
826826
*
827-
* @return self
827+
* @return $this
828828
*/
829829
public function setAutowiringTypes(array $types)
830830
{
@@ -852,7 +852,7 @@ public function isAutowired()
852852
*
853853
* @param bool $autowired
854854
*
855-
* @return self
855+
* @return $this
856856
*/
857857
public function setAutowired($autowired)
858858
{
@@ -876,7 +876,7 @@ public function getAutowiringTypes()
876876
*
877877
* @param string $type
878878
*
879-
* @return self
879+
* @return $this
880880
*/
881881
public function addAutowiringType($type)
882882
{
@@ -890,7 +890,7 @@ public function addAutowiringType($type)
890890
*
891891
* @param string $type
892892
*
893-
* @return self
893+
* @return $this
894894
*/
895895
public function removeAutowiringType($type)
896896
{

0 commit comments

Comments
 (0)