Skip to content

Commit cfce355

Browse files
authored
Add fix tests, add missing phpdocs (#9)
* Add php 7.3 support, fix tests, add missing phpdocs * Require new version of zend-code * Remove php 7.3 support since proxy-manager v1 doesnt works with php 7.3
1 parent e9c9082 commit cfce355

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^5.7.27 || ^6.5.7",
19-
"snapshotpl/nano-container": "^1.0"
19+
"snapshotpl/nano-container": "^1.0",
20+
"container-interop/container-interop": "^1.2.0"
2021
},
2122
"autoload": {
2223
"psr-4": {

src/LazyContainer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public function __construct(
2222
$this->classMap = $classMap;
2323
}
2424

25+
/**
26+
* @inheritDoc
27+
*/
2528
public function get($id)
2629
{
2730
if (!isset($this->classMap[$id])) {
@@ -37,6 +40,9 @@ public function get($id)
3740
return $this->proxyFactory->createProxy($this->classMap[$id], $initializer);
3841
}
3942

43+
/**
44+
* @inheritDoc
45+
*/
4046
public function has($id)
4147
{
4248
return $this->container->has($id);

0 commit comments

Comments
 (0)