fixed @return when returning this or static

This commit is contained in:
Fabien Potencier 2016-12-27 11:48:22 +01:00
parent 9a64d83436
commit 7808b675fc
8 changed files with 16 additions and 16 deletions

View File

@ -145,7 +145,7 @@ class Table
* @param int $columnIndex Column index
* @param TableStyle|string $name The style name or a TableStyle instance
*
* @return Table
* @return self
*/
public function setColumnStyle($columnIndex, $name)
{

View File

@ -547,7 +547,7 @@ class Definition
*
* @param bool $shared Whether the service must be shared or not
*
* @return Definition The current instance
* @return self
*/
public function setShared($shared)
{
@ -749,7 +749,7 @@ class Definition
* @param bool $status
* @param string $template Template message to use if the definition is deprecated
*
* @return Definition the current instance
* @return self
*
* @throws InvalidArgumentException When the message template is invalid.
*/
@ -824,7 +824,7 @@ class Definition
*
* @param string[] $types
*
* @return Definition The current instance
* @return self
*/
public function setAutowiringTypes(array $types)
{
@ -852,7 +852,7 @@ class Definition
*
* @param bool $autowired
*
* @return Definition The current instance
* @return self
*/
public function setAutowired($autowired)
{
@ -876,7 +876,7 @@ class Definition
*
* @param string $type
*
* @return Definition The current instance
* @return self
*/
public function addAutowiringType($type)
{
@ -890,7 +890,7 @@ class Definition
*
* @param string $type
*
* @return Definition The current instance
* @return self
*/
public function removeAutowiringType($type)
{

View File

@ -48,7 +48,7 @@ class ChoiceGroupView implements \IteratorAggregate
/**
* {@inheritdoc}
*
* @return ChoiceGroupView[]|ChoiceView[]
* @return self[]|ChoiceView[]
*/
public function getIterator()
{

View File

@ -30,7 +30,7 @@ interface ResolvedFormTypeInterface
/**
* Returns the parent type.
*
* @return ResolvedFormTypeInterface|null The parent type or null
* @return self|null The parent type or null
*/
public function getParent();

View File

@ -148,7 +148,7 @@ class Type
*
* Only applicable for a collection type.
*
* @return Type|null
* @return self|null
*/
public function getCollectionKeyType()
{
@ -160,7 +160,7 @@ class Type
*
* Only applicable for a collection type.
*
* @return Type|null
* @return self|null
*/
public function getCollectionValueType()
{

View File

@ -38,7 +38,7 @@ class DumperCollection implements \IteratorAggregate
/**
* Returns the children routes and collections.
*
* @return DumperCollection[]|DumperRoute[] Array of DumperCollection|DumperRoute
* @return self[]|DumperRoute[]
*/
public function all()
{
@ -96,7 +96,7 @@ class DumperCollection implements \IteratorAggregate
/**
* Returns the parent collection.
*
* @return DumperCollection|null The parent collection or null if the collection has no parent
* @return self|null The parent collection or null if the collection has no parent
*/
protected function getParent()
{

View File

@ -55,7 +55,7 @@ class RouteCollectionBuilder
* @param string|null $prefix
* @param string $type
*
* @return RouteCollectionBuilder
* @return self
*
* @throws FileLoaderLoadException
*/
@ -101,7 +101,7 @@ class RouteCollectionBuilder
/**
* Returns a RouteCollectionBuilder that can be configured and then added with mount().
*
* @return RouteCollectionBuilder
* @return self
*/
public function createBuilder()
{

View File

@ -53,7 +53,7 @@ class Section
*
* @param string $id The child section identifier
*
* @return Section|null The child section or null when none found
* @return self|null The child section or null when none found
*/
public function get($id)
{