Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit bc72a30

Browse files
committed
Update phpdoc comments
1 parent b172ab3 commit bc72a30

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

src/AbstractPluginManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://github.com/zendframework/zend-servicemanager for the canonical source repository
4-
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
5-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/zend-servicemanager for the canonical source repository
4+
* @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (http://www.zend.com)
5+
* @license https://github.com/zendframework/zend-servicemanager/blob/master/LICENSE.md New BSD License
66
*/
77

88
namespace Zend\ServiceManager;

src/PsrContainerDecorator.php

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
<?php
2-
32
/**
4-
* @link http://github.com/zendframework/zend-servicemanager for the canonical source repository
5-
* @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (http://www.zend.com)
6-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/zend-servicemanager for the canonical source repository
4+
* @copyright Copyright (c) 2018 Zend Technologies USA Inc. (http://www.zend.com)
5+
* @license https://github.com/zendframework/zend-servicemanager/blob/master/LICENSE.md New BSD License
76
*/
87

98
namespace Zend\ServiceManager;
109

1110
use Interop\Container\ContainerInterface;
12-
use Psr\Container\ContainerExceptionInterface;
1311
use Psr\Container\ContainerInterface as PsrContainerInterface;
14-
use Psr\Container\NotFoundExceptionInterface;
1512

1613
/**
1714
* @internal for use in abstract plugin manager
@@ -29,30 +26,15 @@ public function __construct(PsrContainerInterface $container)
2926
}
3027

3128
/**
32-
* Finds an entry of the container by its identifier and returns it.
33-
*
34-
* @param string $id Identifier of the entry to look for.
35-
*
36-
* @throws NotFoundExceptionInterface No entry was found for **this** identifier.
37-
* @throws ContainerExceptionInterface Error while retrieving the entry.
38-
*
39-
* @return mixed Entry.
29+
* {@inheritdoc}
4030
*/
4131
public function get($id)
4232
{
4333
return $this->container->get($id);
4434
}
4535

4636
/**
47-
* Returns true if the container can return an entry for the given identifier.
48-
* Returns false otherwise.
49-
*
50-
* `has($id)` returning true does not mean that `get($id)` will not throw an exception.
51-
* It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.
52-
*
53-
* @param string $id Identifier of the entry to look for.
54-
*
55-
* @return bool
37+
* {@inheritdoc}
5638
*/
5739
public function has($id)
5840
{

test/PsrContainerDecoratorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://github.com/zendframework/zend-servicemanager for the canonical source repository
4-
* @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (http://www.zend.com)
5-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/zend-servicemanager for the canonical source repository
4+
* @copyright Copyright (c) 2018 Zend Technologies USA Inc. (http://www.zend.com)
5+
* @license https://github.com/zendframework/zend-servicemanager/blob/master/LICENSE.md New BSD License
66
*/
77

88
namespace ZendTest\ServiceManager;

0 commit comments

Comments
 (0)