Просмотр исходного кода

Remove namespace from exception.

Justin Hileman 13 лет назад
Родитель
Сommit
36fbb28387
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Mustache/Mustache.php

+ 1 - 1
src/Mustache/Mustache.php

@@ -104,7 +104,7 @@ class Mustache_Mustache {
 
 		if (isset($options['escape'])) {
 			if (!is_callable($options['escape'])) {
-				throw new \InvalidArgumentException('Mustache Constructor "escape" option must be callable');
+				throw new InvalidArgumentException('Mustache Constructor "escape" option must be callable');
 			}
 
 			$this->escape = $options['escape'];