File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
abstract class AbstractOperator extends InputObjectType
21
21
{
22
22
final public function __construct (
23
- protected Types $ types ,
23
+ protected readonly Types $ types ,
24
24
LeafType $ leafType ,
25
25
) {
26
26
$ config = $ this ->getConfiguration ($ leafType );
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ abstract class AbstractFactory
21
21
protected readonly Reader $ reader ;
22
22
23
23
public function __construct (
24
- protected Types $ types ,
25
- protected EntityManager $ entityManager ,
24
+ protected readonly Types $ types ,
25
+ protected readonly EntityManager $ entityManager ,
26
26
) {
27
27
$ this ->reader = new Reader ();
28
28
}
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ private function createParameter(string $name): ReflectionParameter
135
135
{
136
136
return new class ($ name ) extends ReflectionParameter {
137
137
public function __construct (
138
- public string $ mockedName ,
138
+ public readonly string $ mockedName ,
139
139
) {}
140
140
141
141
public function getName (): string
You can’t perform that action at this time.
0 commit comments