/**
* The super constructor for all exceptions
*
- * @param $msgArray The non-optional message for the exception
+ * @param $messageArray The non-optional message for the exception
* @param $code An optional code for better debugging
* @return void
*/
- public function __construct (array $msgArray, $code = 0) {
+ public function __construct (array $messageArray, $code = 0) {
// Create the message
$message = sprintf('[%s:%d] User %s is not a guest account: %s',
- $msgArray[0]->__toString(),
+ $messageArray[0]->__toString(),
$this->getLine(),
- $msgArray[1],
- $msgArray[0]->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS)
+ $messageArray[1],
+ $messageArray[0]->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS)
);
// Make sure everything is assigned properly