mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Add curly braces
This commit is contained in:
@@ -228,10 +228,11 @@ class module_report_dashboard_feed implements module_report_dashboard_componentI
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
if (isset($this->report) && sizeof($this->report) > 0)
|
||||
if (isset($this->report) && sizeof($this->report) > 0) {
|
||||
return true;
|
||||
else
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -69,10 +69,11 @@ class module_report_dashboard_group implements module_report_dashboard_component
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
if (isset($this->group_dash) && sizeof($this->group_dash) > 0)
|
||||
if (isset($this->group_dash) && sizeof($this->group_dash) > 0) {
|
||||
return true;
|
||||
else
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -121,10 +121,11 @@ class module_report_dashboard_merge implements module_report_dashboard_component
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
if (isset($this->sorted) && sizeof($this->sorted) > 0)
|
||||
if (isset($this->sorted) && sizeof($this->sorted) > 0) {
|
||||
return true;
|
||||
else
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -122,10 +122,11 @@ class module_report_dashboard_sort implements module_report_dashboard_componentI
|
||||
|
||||
public function isValid()
|
||||
{
|
||||
if (isset($this->arraySorted) && sizeof($this->arraySorted) > 0)
|
||||
if (isset($this->arraySorted) && sizeof($this->arraySorted) > 0) {
|
||||
return true;
|
||||
else
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function getDash()
|
||||
@@ -135,8 +136,9 @@ class module_report_dashboard_sort implements module_report_dashboard_componentI
|
||||
|
||||
public function getTop($nbtop)
|
||||
{
|
||||
if ( ! is_int($nbtop))
|
||||
if ( ! is_int($nbtop)) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$tmp = array();
|
||||
|
||||
|
Reference in New Issue
Block a user