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