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 2020abstract class AbstractOperator extends InputObjectType
2121{
2222 final public function __construct (
23- protected Types $ types ,
23+ protected readonly Types $ types ,
2424 LeafType $ leafType ,
2525 ) {
2626 $ config = $ this ->getConfiguration ($ leafType );
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ abstract class AbstractFactory
2121 protected readonly Reader $ reader ;
2222
2323 public function __construct (
24- protected Types $ types ,
25- protected EntityManager $ entityManager ,
24+ protected readonly Types $ types ,
25+ protected readonly EntityManager $ entityManager ,
2626 ) {
2727 $ this ->reader = new Reader ();
2828 }
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ private function createParameter(string $name): ReflectionParameter
135135 {
136136 return new class ($ name ) extends ReflectionParameter {
137137 public function __construct (
138- public string $ mockedName ,
138+ public readonly string $ mockedName ,
139139 ) {}
140140
141141 public function getName (): string
You can’t perform that action at this time.
0 commit comments