diff options
author | Thomas Lange <code@nerdmind.de> | 2017-02-28 02:16:40 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-02-28 02:16:40 +0100 |
commit | b46d6b8e06bb08f1679032af4d75dbeca57b76af (patch) | |
tree | 9805eb050895ac70378c99272fc474281c830c74 /core | |
parent | dbf60c83eb0715d6105743155a2c2582d7ce0e58 (diff) | |
download | blog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.tar.gz blog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.tar.xz blog-b46d6b8e06bb08f1679032af4d75dbeca57b76af.zip |
Spelling mistakes corrected.
Diffstat (limited to 'core')
-rw-r--r-- | core/namespace/Item.php | 2 | ||||
-rw-r--r-- | core/namespace/Template/Template.php | 2 |
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."); } } |