We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fcddfc commit f81674bCopy full SHA for f81674b
1 file changed
tests/unit/Snak/SnakListTest.php
@@ -181,8 +181,6 @@ public function testAddSnak( SnakList $array ) {
181
}
182
183
public function orderByPropertyProvider() {
184
- $class = $this->getInstanceClass();
185
-
186
$id1 = new PropertyId( 'P1' );
187
$id2 = new PropertyId( 'P2' );
188
$id3 = new PropertyId( 'P3' );
@@ -265,8 +263,8 @@ public function orderByPropertyProvider() {
265
263
266
264
foreach ( $rawArguments as $key => $rawArgument ) {
267
$arguments[$key] = [
268
- new $class( $rawArgument[0] ),
269
- new $class( $rawArgument[1] ),
+ new SnakList( $rawArgument[0] ),
+ new SnakList( $rawArgument[1] ),
270
array_key_exists( 2, $rawArgument ) ? $rawArgument[2] : []
271
];
272
0 commit comments