white space, type chekcing
This commit is contained in:
parent
bbff78f0b0
commit
fa32105992
|
@ -94,7 +94,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$rtn = $this->_data['id'];
|
$rtn = $this->_data['id'];
|
||||||
|
|
||||||
|
|
||||||
return $rtn;
|
return $rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$rtn = $this->_data['title'];
|
$rtn = $this->_data['title'];
|
||||||
|
|
||||||
|
|
||||||
return $rtn;
|
return $rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$rtn = $this->_data['reference'];
|
$rtn = $this->_data['reference'];
|
||||||
|
|
||||||
|
|
||||||
return $rtn;
|
return $rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$rtn = $this->_data['git_key'];
|
$rtn = $this->_data['git_key'];
|
||||||
|
|
||||||
|
|
||||||
return $rtn;
|
return $rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$rtn = $this->_data['type'];
|
$rtn = $this->_data['type'];
|
||||||
|
|
||||||
|
|
||||||
return $rtn;
|
return $rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$this->_validateNotNull('Title', $value);
|
$this->_validateNotNull('Title', $value);
|
||||||
$this->_validateString('Title', $value);
|
$this->_validateString('Title', $value);
|
||||||
if($this->_data['title'] == $value)
|
if($this->_data['title'] === $value)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$this->_validateNotNull('Reference', $value);
|
$this->_validateNotNull('Reference', $value);
|
||||||
$this->_validateString('Reference', $value);
|
$this->_validateString('Reference', $value);
|
||||||
if($this->_data['reference'] == $value)
|
if($this->_data['reference'] === $value)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$this->_validateNotNull('GitKey', $value);
|
$this->_validateNotNull('GitKey', $value);
|
||||||
$this->_validateString('GitKey', $value);
|
$this->_validateString('GitKey', $value);
|
||||||
if($this->_data['git_key'] == $value)
|
if($this->_data['git_key'] === $value)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,7 @@ class ProjectBase extends Model
|
||||||
{
|
{
|
||||||
$this->_validateNotNull('Type', $value);
|
$this->_validateNotNull('Type', $value);
|
||||||
$this->_validateString('Type', $value);
|
$this->_validateString('Type', $value);
|
||||||
if($this->_data['type'] == $value)
|
if($this->_data['type'] === $value)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue