File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private function getGetter(object $subject): callable
88
88
$ property = $ this ->property ;
89
89
$ method = 'get ' .ucfirst ($ property );
90
90
91
- return match ($ this ->getters [$ subject ::class] ??= $ this -> getType ($ subject , $ property , $ method )) {
91
+ return match ($ this ->getters [$ subject ::class] ??= self :: getType ($ subject , $ property , $ method )) {
92
92
MarkingStoreMethod::METHOD => $ subject ->{$ method }(...),
93
93
MarkingStoreMethod::PROPERTY => static fn () => $ subject ->{$ property },
94
94
};
@@ -99,7 +99,7 @@ private function getSetter(object $subject): callable
99
99
$ property = $ this ->property ;
100
100
$ method = 'set ' .ucfirst ($ property );
101
101
102
- return match ($ this ->setters [$ subject ::class] ??= $ this -> getType ($ subject , $ property , $ method )) {
102
+ return match ($ this ->setters [$ subject ::class] ??= self :: getType ($ subject , $ property , $ method )) {
103
103
MarkingStoreMethod::METHOD => $ subject ->{$ method }(...),
104
104
MarkingStoreMethod::PROPERTY => static fn ($ marking ) => $ subject ->{$ property } = $ marking ,
105
105
};
You can’t perform that action at this time.
0 commit comments