summaryrefslogtreecommitdiffstats
path: root/core/namespace
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace')
-rw-r--r--core/namespace/Item.php2
-rw-r--r--core/namespace/Template/Template.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/namespace/Item.php b/core/namespace/Item.php
index 6d17011..f3b6ceb 100644
--- a/core/namespace/Item.php
+++ b/core/namespace/Item.php
@@ -28,7 +28,7 @@ abstract class Item implements ItemInterface {
# Checking if retrieving data failed
#===============================================================================
if(!$this->Attribute = $Statement->fetchObject($attribute)) {
- throw new $exception(sprintf('%s\\Item with ID %s does not exists', $this->Reflection->getNamespaceName(), (int) $itemID));
+ throw new $exception(sprintf('%s\\Item with ID %s does not exist', $this->Reflection->getNamespaceName(), (int) $itemID));
}
}
diff --git a/core/namespace/Template/Template.php b/core/namespace/Template/Template.php
index 1d1f84f..16459fb 100644
--- a/core/namespace/Template/Template.php
+++ b/core/namespace/Template/Template.php
@@ -12,7 +12,7 @@ class Template {
$this->filename = $filename;
if(!file_exists($filename)) {
- throw new Exception("Template file \"{$filename}\" does not exists.");
+ throw new Exception("Template file \"{$filename}\" does not exist.");
}
}