We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 28 | public function getChildrenOfYear($structure, $partOf)  | 
            ||
| 29 |     { | 
            ||
| 30 | $query = $this->createQuery();  | 
            ||
| 31 | |||
| 32 |         $query->matching($query->equals('structure', $structure)); | 
            ||
| 33 |         $query->matching($query->equals('partof', $partOf)); | 
            ||
| 34 | |||
| 35 | $query->setOrderings([  | 
            ||
| 36 | 'mets_orderlabel' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING  | 
            ||
| 37 | ]);  | 
            ||
| 38 | |||
| 39 | return $query->execute();  | 
            ||
| 40 | }  | 
            ||
| 41 | }  |