Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
44 | public function serializationProvider() { |
||
45 | return [ |
||
46 | [ |
||
47 | 'string[42:"foo"]', |
||
48 | new StringQuery( new PropertyId( 'P42' ), new StringValue( 'foo' ) ) |
||
49 | ], |
||
50 | [ |
||
51 | '(string[42:"foo"] AND string[43:"bar"])', |
||
52 | new AndQuery([ |
||
53 | new StringQuery( new PropertyId( 'P42' ), new StringValue( 'foo' ) ), |
||
54 | new StringQuery( new PropertyId( 'P43' ), new StringValue( 'bar' ) ) |
||
55 | ] ) |
||
56 | ], |
||
57 | ]; |
||
58 | } |
||
59 | } |
||
60 |