File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<files psalm-version =" 5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e" >
3
- <file src =" src/Bootstrap/ServiceWiringListener.php" >
4
- <MixedArgument >
5
- <code ><![CDATA[ $service]]> </code >
6
- </MixedArgument >
7
- <MixedAssignment >
8
- <code ><![CDATA[ $service]]> </code >
9
- </MixedAssignment >
10
- </file >
11
3
<file src =" src/ContainerFactory/AbstractContainerFactory.php" >
12
4
<PossiblyInvalidArgument >
13
5
<code ><![CDATA[ $type]]> </code >
Original file line number Diff line number Diff line change @@ -75,12 +75,10 @@ public function servicesWithAttribute(string $attributeType) : array {
75
75
* @return ServiceFromServiceDefinition<T>
76
76
*/
77
77
private function createServiceFromServiceDefinition (object $ service , ServiceDefinition $ serviceDefinition ) : ServiceFromServiceDefinition {
78
- $ serviceFromDefinition =
79
-
80
78
/**
81
79
* @implements ServiceFromServiceDefinition<T>
82
80
*/
83
- new class ($ service , $ serviceDefinition ) implements ServiceFromServiceDefinition {
81
+ return new class ($ service , $ serviceDefinition ) implements ServiceFromServiceDefinition {
84
82
public function __construct (
85
83
private readonly object $ service ,
86
84
private readonly ServiceDefinition $ definition
@@ -95,9 +93,6 @@ public function definition() : ServiceDefinition {
95
93
return $ this ->definition ;
96
94
}
97
95
};
98
-
99
- /** @var ServiceFromServiceDefinition<T> $serviceFromDefinition */
100
- return $ serviceFromDefinition ;
101
96
}
102
97
};
103
98
$ this ->wireServices ($ container , $ serviceGatherer );
You can’t perform that action at this time.
0 commit comments