Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always create type QNAMEs.

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@264345 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 4117228ecd475c2da53917259bde35363df3bf44 1 parent 976e5cb
Jan Schneider authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 Value.php
View
8 Value.php
@@ -138,11 +138,9 @@ function SOAP_Value($name = '', $type = false, $value = null,
$this->nqn = new QName($name);
$this->name = $this->nqn->name;
$this->namespace = $this->nqn->namespace;
- if ($type) {
- $this->tqn = new QName($type);
- $this->type = $this->tqn->name;
- $this->type_namespace = $this->tqn->namespace;
- }
+ $this->tqn = new QName($type);
+ $this->type = $this->tqn->name;
+ $this->type_namespace = $this->tqn->namespace;
$this->value = $value;
$this->attributes = $attributes;
$this->options = $options;

0 comments on commit 4117228

Please sign in to comment.
Something went wrong with that request. Please try again.