| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 |        throw new MenuTypeAlreadyDefinedException("Menu type $name is already defined."); | 
| 38 | 38 | } | 
| 39 | 39 |      if(!file_exists($template)) { | 
| 40 | -      throw new TemplateNotFoundException("File $template does not exist."); | |
| 40 | +      throw new TemplateNotFoundException("file $template does not exist."); | |
| 41 | 41 | } | 
| 42 | 42 | $this->templates[$name] = (string) realpath($template); | 
| 43 | 43 | } | 
| @@ -51,7 +51,7 @@ discard block | ||
| 51 | 51 | return $menu; | 
| 52 | 52 | } | 
| 53 | 53 | } | 
| 54 | -    throw new MenuNotFoundException("Menu $menuName not found."); | |
| 54 | +    throw new MenuNotFoundException("menu $menuName not found."); | |
| 55 | 55 | } | 
| 56 | 56 | |
| 57 | 57 | /** |