| Conditions | 2 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 37 | public static function forNonStringValue($view_class, $template)  | 
            ||
| 38 |     { | 
            ||
| 39 | return new static(  | 
            ||
| 40 | sprintf(  | 
            ||
| 41 | '%s::getTemplateName() must return a string template name, %s value returned',  | 
            ||
| 42 | $view_class,  | 
            ||
| 43 | is_object($template) ? get_class($template) : gettype($template)  | 
            ||
| 44 | )  | 
            ||
| 45 | );  | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 49 |