Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -540,8 +540,9 @@ class User_Query implements User_QueryInterface
*/
public function get_total()
{
if ($this->total)
if ($this->total) {
return $this->total;
}
$conn = $this->appbox->get_connection();
@@ -698,8 +699,9 @@ class User_Query implements User_QueryInterface
*/
public function on_base_ids(Array $base_ids = null)
{
if ( ! $base_ids)
if ( ! $base_ids) {
return $this;
}
$this->bases_restrictions = true;
@@ -722,8 +724,9 @@ class User_Query implements User_QueryInterface
*/
public function on_sbas_ids(Array $sbas_ids = null)
{
if ( ! $sbas_ids)
if ( ! $sbas_ids) {
return $this;
}
$this->sbas_restrictions = true;