33
2
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:
Jaz Parkyn 2017-01-13 09:41:10 +00:00
parent d3c39165df
commit 98819bbb16

View File

@ -84,7 +84,8 @@ class JedcheckerRulesXMLUpdateServer extends JEDcheckerRule
if ($xml && ($xml->getName() == 'install' || $xml->getName() == 'extension')) if ($xml && ($xml->getName() == 'install' || $xml->getName() == 'extension'))
{ {
// Check if extension attribute 'type' is for a package // Check if extension attribute 'type' is for a package
if($xml->attributes()->type == 'package'){ if($xml->attributes()->type == 'package')
{
$packageCount++; $packageCount++;
$this->find($file); $this->find($file);
} }
@ -92,7 +93,8 @@ class JedcheckerRulesXMLUpdateServer extends JEDcheckerRule
} }
// No XML file found for package // No XML file found for package
if ($packageCount == 0){ if ($packageCount == 0)
{
return false; return false;
} else { } else {
return true; return true;