| Conditions | 4 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public static function identicalAuthors($precedingItem, $currentAuthor) |
||
| 26 | { |
||
| 27 | if (count($precedingItem->author) !== count($currentAuthor)) { |
||
| 28 | return false; |
||
| 29 | } |
||
| 30 | foreach ($currentAuthor as $current) { |
||
| 31 | if (self::precedingHasAuthor($precedingItem, $current)) { |
||
| 32 | continue; |
||
| 33 | } |
||
| 34 | return false; |
||
| 35 | } |
||
| 36 | return true; |
||
| 37 | } |
||
| 38 | |||
| 53 | } |