mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-22 21:28:24 +00:00
Fix formatting
This commit is contained in:
parent
d3c39165df
commit
98819bbb16
@ -84,7 +84,8 @@ class JedcheckerRulesXMLUpdateServer extends JEDcheckerRule
|
||||
if ($xml && ($xml->getName() == 'install' || $xml->getName() == 'extension'))
|
||||
{
|
||||
// Check if extension attribute 'type' is for a package
|
||||
if($xml->attributes()->type == 'package'){
|
||||
if($xml->attributes()->type == 'package')
|
||||
{
|
||||
$packageCount++;
|
||||
$this->find($file);
|
||||
}
|
||||
@ -92,7 +93,8 @@ class JedcheckerRulesXMLUpdateServer extends JEDcheckerRule
|
||||
}
|
||||
|
||||
// No XML file found for package
|
||||
if ($packageCount == 0){
|
||||
if ($packageCount == 0)
|
||||
{
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user