| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 44 | public function trans($id, array $parameters = [], $locale = null)  | 
            ||
| 45 |     { | 
            ||
| 46 | $bundle = new Bundle($id, $this->bundleMap);  | 
            ||
| 47 | |||
| 48 |         if ($bundle->hasNoValues()) { | 
            ||
| 49 |             return app('translator')->trans($id, $parameters, $locale); | 
            ||
| 50 | }  | 
            ||
| 51 | |||
| 52 | return $this->translator->translateBundle($bundle, $parameters, $locale);  | 
            ||
| 53 | }  | 
            ||
| 54 | }  | 
            ||
| 55 |