Skip to content

Commit 6c42c7e

Browse files
Removed comments and added {@ inheritdoc}
1 parent 0e28541 commit 6c42c7e

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

src/Container.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,7 @@ public function __construct($entries = [])
3737
}
3838

3939
/**
40-
* Finds an entry of the container by its identifier and returns it.
41-
*
42-
* @param string $alias Identifier of the entry to look for.
43-
*
44-
* @throws NotFoundException No entry was found for this identifier.
45-
* @throws ContainerExceptionInterface Error while retrieving the entry.
46-
*
47-
* @return mixed Entry.
40+
* {@inheritdoc}
4841
*/
4942
public function get($alias)
5043
{
@@ -64,12 +57,7 @@ public function get($alias)
6457
}
6558

6659
/**
67-
* Returns true if the container can return an entry for the given identifier.
68-
* Returns false otherwise.
69-
*
70-
* @param string $alias Identifier of the entry to look for.
71-
*
72-
* @return boolean
60+
* {@inheritdoc}
7361
*/
7462
public function has($alias): bool
7563
{

0 commit comments

Comments
 (0)