| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 41 | public function handle(): ?OuvrageTemplate  | 
            ||
| 42 |     { | 
            ||
| 43 | // Wikidata requests from $infos (ISBN/ISNI)  | 
            ||
| 44 |         if (!empty($this->bnfOuvrage->getInfos())) { | 
            ||
| 45 | // TODO try/catch  | 
            ||
| 46 | $wdComplete = new Wikidata2Ouvrage($this->wikidataAdapter, clone $this->bnfOuvrage, $this->page);  | 
            ||
| 47 | return $wdComplete->getOuvrage();  | 
            ||
| 48 | }  | 
            ||
| 49 | |||
| 50 | return null;  | 
            ||
| 51 | }  | 
            ||
| 52 | }  |