Skip to content

Commit 870a158

Browse files
committed
Fixed @return when returning this or static #bis
1 parent ff16a0f commit 870a158

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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)