summaryrefslogtreecommitdiff
path: root/include/array.h
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/array.h
parent8ff8ecd48ee24c1f8d8c07fc4524cccbfa1004a2 (diff)
correct typo in error message
Diffstat (limited to 'include/array.h')
-rw-r--r--include/array.h4
1 files changed, 2 insertions, 2 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);