Skip to content

Commit 6193fc7

Browse files
authored
Merge pull request #69 from DoclerLabs/develop
prepare 0.30.0
2 parents f64c6e2 + 66bf1cd commit 6193fc7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/hex/di/util/MappingDefinitionUtil.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package hex.di.util;
22

33
import hex.di.mapping.MappingDefinition;
44

5+
using Lambda;
56
/**
67
* ...
78
* @author Francis Bourre
@@ -44,6 +45,6 @@ class MappingDefinitionUtil
4445
}
4546
}
4647

47-
injectIntoValues.map(target.injectInto);
48+
injectIntoValues.iter(target.injectInto);
4849
}
4950
}

test/hex/di/mock/injectees/OptionalClassInjectee.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import hex.di.mock.types.MockConstants;
1111
class OptionalClassInjectee implements IInjectorContainer
1212
{
1313
@Inject
14-
@Optional( true )
14+
@Optional
1515
public var property : Interface;
1616

1717
public function new()

0 commit comments

Comments
 (0)