Browse Source

Add missing new.

Fixes #3870
mark_story 11 years ago
parent
commit
99d8d4224f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Form/EntityContext.php

+ 1 - 1
src/View/Form/EntityContext.php

@@ -271,7 +271,7 @@ class EntityContext implements ContextInterface {
 			}
 			$entity = $next;
 		}
-		throw \RuntimeException(sprintf(
+		throw new \RuntimeException(sprintf(
 			'Unable to fetch property "%s"',
 			implode(".", $path)
 		));