fixed @return when returning this or static
This commit is contained in:
parent
9a64d83436
commit
7808b675fc
@ -145,7 +145,7 @@ class Table
|
|||||||
* @param int $columnIndex Column index
|
* @param int $columnIndex Column index
|
||||||
* @param TableStyle|string $name The style name or a TableStyle instance
|
* @param TableStyle|string $name The style name or a TableStyle instance
|
||||||
*
|
*
|
||||||
* @return Table
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function setColumnStyle($columnIndex, $name)
|
public function setColumnStyle($columnIndex, $name)
|
||||||
{
|
{
|
||||||
|
@ -547,7 +547,7 @@ class Definition
|
|||||||
*
|
*
|
||||||
* @param bool $shared Whether the service must be shared or not
|
* @param bool $shared Whether the service must be shared or not
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function setShared($shared)
|
public function setShared($shared)
|
||||||
{
|
{
|
||||||
@ -749,7 +749,7 @@ class Definition
|
|||||||
* @param bool $status
|
* @param bool $status
|
||||||
* @param string $template Template message to use if the definition is deprecated
|
* @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.
|
* @throws InvalidArgumentException When the message template is invalid.
|
||||||
*/
|
*/
|
||||||
@ -824,7 +824,7 @@ class Definition
|
|||||||
*
|
*
|
||||||
* @param string[] $types
|
* @param string[] $types
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function setAutowiringTypes(array $types)
|
public function setAutowiringTypes(array $types)
|
||||||
{
|
{
|
||||||
@ -852,7 +852,7 @@ class Definition
|
|||||||
*
|
*
|
||||||
* @param bool $autowired
|
* @param bool $autowired
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function setAutowired($autowired)
|
public function setAutowired($autowired)
|
||||||
{
|
{
|
||||||
@ -876,7 +876,7 @@ class Definition
|
|||||||
*
|
*
|
||||||
* @param string $type
|
* @param string $type
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function addAutowiringType($type)
|
public function addAutowiringType($type)
|
||||||
{
|
{
|
||||||
@ -890,7 +890,7 @@ class Definition
|
|||||||
*
|
*
|
||||||
* @param string $type
|
* @param string $type
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function removeAutowiringType($type)
|
public function removeAutowiringType($type)
|
||||||
{
|
{
|
||||||
|
@ -48,7 +48,7 @@ class ChoiceGroupView implements \IteratorAggregate
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
*
|
||||||
* @return ChoiceGroupView[]|ChoiceView[]
|
* @return self[]|ChoiceView[]
|
||||||
*/
|
*/
|
||||||
public function getIterator()
|
public function getIterator()
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@ interface ResolvedFormTypeInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the parent type.
|
* Returns the parent type.
|
||||||
*
|
*
|
||||||
* @return ResolvedFormTypeInterface|null The parent type or null
|
* @return self|null The parent type or null
|
||||||
*/
|
*/
|
||||||
public function getParent();
|
public function getParent();
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ class Type
|
|||||||
*
|
*
|
||||||
* Only applicable for a collection type.
|
* Only applicable for a collection type.
|
||||||
*
|
*
|
||||||
* @return Type|null
|
* @return self|null
|
||||||
*/
|
*/
|
||||||
public function getCollectionKeyType()
|
public function getCollectionKeyType()
|
||||||
{
|
{
|
||||||
@ -160,7 +160,7 @@ class Type
|
|||||||
*
|
*
|
||||||
* Only applicable for a collection type.
|
* Only applicable for a collection type.
|
||||||
*
|
*
|
||||||
* @return Type|null
|
* @return self|null
|
||||||
*/
|
*/
|
||||||
public function getCollectionValueType()
|
public function getCollectionValueType()
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ class DumperCollection implements \IteratorAggregate
|
|||||||
/**
|
/**
|
||||||
* Returns the children routes and collections.
|
* Returns the children routes and collections.
|
||||||
*
|
*
|
||||||
* @return DumperCollection[]|DumperRoute[] Array of DumperCollection|DumperRoute
|
* @return self[]|DumperRoute[]
|
||||||
*/
|
*/
|
||||||
public function all()
|
public function all()
|
||||||
{
|
{
|
||||||
@ -96,7 +96,7 @@ class DumperCollection implements \IteratorAggregate
|
|||||||
/**
|
/**
|
||||||
* Returns the parent collection.
|
* 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()
|
protected function getParent()
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@ class RouteCollectionBuilder
|
|||||||
* @param string|null $prefix
|
* @param string|null $prefix
|
||||||
* @param string $type
|
* @param string $type
|
||||||
*
|
*
|
||||||
* @return RouteCollectionBuilder
|
* @return self
|
||||||
*
|
*
|
||||||
* @throws FileLoaderLoadException
|
* @throws FileLoaderLoadException
|
||||||
*/
|
*/
|
||||||
@ -101,7 +101,7 @@ class RouteCollectionBuilder
|
|||||||
/**
|
/**
|
||||||
* Returns a RouteCollectionBuilder that can be configured and then added with mount().
|
* Returns a RouteCollectionBuilder that can be configured and then added with mount().
|
||||||
*
|
*
|
||||||
* @return RouteCollectionBuilder
|
* @return self
|
||||||
*/
|
*/
|
||||||
public function createBuilder()
|
public function createBuilder()
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ class Section
|
|||||||
*
|
*
|
||||||
* @param string $id The child section identifier
|
* @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)
|
public function get($id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user