@@ -99,25 +99,25 @@ public function blockCases() {
9999 yield [
100100 'wbremoveclaims ' ,
101101 [
102- 'claim ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
102+ 'claim ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
103103 ],
104104 [ 'failed-save ' , 'blocked ' ],
105105 ];
106106
107107 yield [
108108 'wbremovequalifiers ' ,
109109 [
110- 'claim ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
111- 'qualifiers ' => [ [ self ::class , 'getEntityClaimQualifierHash ' ], 'Berlin ' ],
110+ 'claim ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
111+ 'qualifiers ' => [ [ $ this , 'getEntityClaimQualifierHash ' ], 'Berlin ' ],
112112 ],
113113 [ 'failed-save ' , 'blocked ' ],
114114 ];
115115
116116 yield [
117117 'wbremovereferences ' ,
118118 [
119- 'statement ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
120- 'references ' => [ [ self ::class , 'getEntityClaimReferenceHash ' ], 'Berlin ' ],
119+ 'statement ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
120+ 'references ' => [ [ $ this , 'getEntityClaimReferenceHash ' ], 'Berlin ' ],
121121 ],
122122 [ 'failed-save ' , 'blocked ' ],
123123 ];
@@ -145,15 +145,15 @@ public function blockCases() {
145145 yield [
146146 'wbsetclaim ' ,
147147 [
148- 'claim ' => [ [ self ::class , 'buildTestClaimJSON ' ], 'Oslo ' ],
148+ 'claim ' => [ [ $ this , 'buildTestClaimJSON ' ], 'Oslo ' ],
149149 ],
150150 [ 'failed-save ' , 'blocked ' ],
151151 ];
152152
153153 yield [
154154 'wbsetclaimvalue ' ,
155155 [
156- 'claim ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
156+ 'claim ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
157157 'value ' => '"foobar" ' ,
158158 'snaktype ' => 'value ' ,
159159 ],
@@ -183,7 +183,7 @@ public function blockCases() {
183183 yield [
184184 'wbsetqualifier ' ,
185185 [
186- 'claim ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
186+ 'claim ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
187187 'property ' => [ [ EntityTestHelper::class, 'getId ' ], 'StringProp ' ],
188188 'snaktype ' => 'value ' ,
189189 'value ' => '"baz" ' ,
@@ -194,8 +194,8 @@ public function blockCases() {
194194 yield [
195195 'wbsetreference ' ,
196196 [
197- 'statement ' => [ [ self ::class , 'getEntityClaimGUID ' ], 'Berlin ' ],
198- 'snaks ' => [ [ self ::class , 'buildTestReferenceSnakJSON ' ] ],
197+ 'statement ' => [ [ $ this , 'getEntityClaimGUID ' ], 'Berlin ' ],
198+ 'snaks ' => [ [ $ this , 'buildTestReferenceSnakJSON ' ] ],
199199 ],
200200 [ 'failed-save ' , 'blocked ' ],
201201 ];
0 commit comments