summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHector Jusforgues <contact@hectorj.net>2014-04-08 21:54:41 +0700
committerHector Jusforgues <contact@hectorj.net>2014-04-08 21:54:41 +0700
commit7179cf4f2257accdc960e285f6e778dafec66b11 (patch)
treeb02a86125b9ad9f49c992f5c6731b040441ccd73 /include
parent8ff8ecd48ee24c1f8d8c07fc4524cccbfa1004a2 (diff)
correct typo in error message
Diffstat (limited to 'include')
-rw-r--r--include/array.h4
-rw-r--r--include/object.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/array.h b/include/array.h
index 26fec24..0b6ceb9 100644
--- a/include/array.h
+++ b/include/array.h
@@ -31,7 +31,7 @@ public:
Array(const Value &value) : Value(value)
{
// type must be valid
- if (value.type() != Type::Array) throw Php::Exception("Assiging a non-array to an array variable");
+ if (value.type() != Type::Array) throw Php::Exception("Assigning a non-array to an array variable");
}
/**
@@ -93,7 +93,7 @@ public:
if (this == &value) return *this;
// type must be valid
- if (value.type() != Type::Array) throw Php::Exception("Assiging a non-array to a fixed array variable");
+ if (value.type() != Type::Array) throw Php::Exception("Assigning a non-array to a fixed array variable");
// call base
Value::operator=(value);
diff --git a/include/object.h b/include/object.h
index 1445943..97c9482 100644
--- a/include/object.h
+++ b/include/object.h
@@ -140,7 +140,7 @@ public:
if (this == &value) return *this;
// type must be valid
- if (value.type() != Type::Object) throw Php::Exception("Assiging a non-object to an object variable");
+ if (value.type() != Type::Object) throw Php::Exception("Assigning a non-object to an object variable");
// call base
Value::operator=(value);