Skip to content

Commit 26bc360

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: fixed @return when returning this or static
2 parents ac7b8bd + ff16a0f commit 26bc360

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
@@ -437,7 +437,7 @@ public function getFile()
437437
*
438438
* @param bool $shared Whether the service must be shared or not
439439
*
440-
* @return Definition The current instance
440+
* @return self
441441
*/
442442
public function setShared($shared)
443443
{
@@ -563,7 +563,7 @@ public function isAbstract()
563563
* @param bool $status
564564
* @param string $template Template message to use if the definition is deprecated
565565
*
566-
* @return Definition the current instance
566+
* @return self
567567
*
568568
* @throws InvalidArgumentException When the message template is invalid.
569569
*/
@@ -638,7 +638,7 @@ public function getConfigurator()
638638
*
639639
* @param string[] $types
640640
*
641-
* @return Definition The current instance
641+
* @return self
642642
*/
643643
public function setAutowiringTypes(array $types)
644644
{
@@ -666,7 +666,7 @@ public function isAutowired()
666666
*
667667
* @param bool $autowired
668668
*
669-
* @return Definition The current instance
669+
* @return self
670670
*/
671671
public function setAutowired($autowired)
672672
{
@@ -690,7 +690,7 @@ public function getAutowiringTypes()
690690
*
691691
* @param string $type
692692
*
693-
* @return Definition The current instance
693+
* @return self
694694
*/
695695
public function addAutowiringType($type)
696696
{
@@ -704,7 +704,7 @@ public function addAutowiringType($type)
704704
*
705705
* @param string $type
706706
*
707-
* @return Definition The current instance
707+
* @return self
708708
*/
709709
public function removeAutowiringType($type)
710710
{

0 commit comments

Comments
 (0)