Conditions | 3 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | private static function assertValidOperationContent($operationContent) |
||
45 | { |
||
46 | if (!property_exists($operationContent, 'path') || !property_exists($operationContent, 'value')) { |
||
47 | throw new Operation\Exception('"Replace" Operations must contain a "path" and "value" member'); |
||
48 | } |
||
49 | } |
||
50 | |||
60 |