Skip to content

Commit

Permalink
Fixing additional Codesniffer errors (convert tabs to spaces).
Browse files Browse the repository at this point in the history
  • Loading branch information
orware committed Oct 27, 2016
1 parent 51a30d1 commit 767e668
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions libraries/joomla/database/iterator/oracle.php
Expand Up @@ -97,7 +97,7 @@ protected function freeResult()
*/
public function toLower()
{
$this->tolower = true;
$this->tolower = true;
}

/**
Expand All @@ -109,7 +109,7 @@ public function toLower()
*/
public function toUpper()
{
$this->tolower = false;
$this->tolower = false;
}

/**
Expand All @@ -121,7 +121,7 @@ public function toUpper()
*/
public function returnLobValues()
{
$this->returnlobs = true;
$this->returnlobs = true;
}

/**
Expand All @@ -132,7 +132,7 @@ public function returnLobValues()
*/
public function returnLobObjects()
{
$this->returnlobs = false;
$this->returnlobs = false;
}

/**
Expand All @@ -146,29 +146,29 @@ public function returnLobObjects()
*/
public function getMode($numeric = false)
{
if ($numeric === false)
{
if ($this->returnlobs)
{
$mode = OCI_ASSOC+OCI_RETURN_NULLS+OCI_RETURN_LOBS;
}
else
{
$mode = OCI_ASSOC+OCI_RETURN_NULLS;
}
}
else
{
if ($this->returnlobs)
{
$mode = OCI_NUM+OCI_RETURN_NULLS+OCI_RETURN_LOBS;
}
else
{
$mode = OCI_NUM+OCI_RETURN_NULLS;
}
}

return $mode;
if ($numeric === false)
{
if ($this->returnlobs)
{
$mode = OCI_ASSOC+OCI_RETURN_NULLS+OCI_RETURN_LOBS;
}
else
{
$mode = OCI_ASSOC+OCI_RETURN_NULLS;
}
}
else
{
if ($this->returnlobs)
{
$mode = OCI_NUM+OCI_RETURN_NULLS+OCI_RETURN_LOBS;
}
else
{
$mode = OCI_NUM+OCI_RETURN_NULLS;
}
}

return $mode;
}
}

0 comments on commit 767e668

Please sign in to comment.