Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
ReadingListRowWithMergeFlag | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * @file |
4 | * Documentation hack for plain objects returned by DB queries. |
5 | * For the benefit of IDEs only, won't be used outside phpdoc. |
6 | */ |
7 | |
8 | namespace MediaWiki\Extension\ReadingLists\Doc; |
9 | |
10 | /** |
11 | * A hacky way to add an extra flag telling the client that they asked for a duplicate list |
12 | * to be created, and the existing list is being returned instead (with the description |
13 | * updated if necessary). |
14 | */ |
15 | trait ReadingListRowWithMergeFlag { |
16 | |
17 | use ReadingListRow; |
18 | |
19 | /** |
20 | * True if this row is the result of an operation that requested a new row, but instead |
21 | * an existing row was returned. |
22 | * @var bool |
23 | */ |
24 | public $merged; |
25 | |
26 | } |