summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-02-28 02:16:40 +0100
committerThomas Lange <code@nerdmind.de>2017-02-28 02:16:40 +0100
commitb46d6b8e06bb08f1679032af4d75dbeca57b76af (patch)
tree9805eb050895ac70378c99272fc474281c830c74 /core
parentdbf60c83eb0715d6105743155a2c2582d7ce0e58 (diff)
downloadblog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.tar.gz
blog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.tar.xz
blog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.zip
Spelling mistakes corrected.
Diffstat (limited to 'core')
-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.");
}
}