Permalink
Browse files

Fixed checkstyle error

  • Loading branch information...
1 parent a0a4996 commit 5f616d600a90c6e723cc37bd574c32e512d93156 @vietvh committed Dec 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 libraries/joomla/installer/installer.php
@@ -1886,13 +1886,13 @@ public function findManifest()
if (!is_null($manifest))
{
// If the root method attribute is set to upgrade, allow file overwrite
- if ((string)$manifest->attributes()->method == 'upgrade')
+ if ((string) $manifest->attributes()->method == 'upgrade')
{
$this->_upgrade = true;
$this->_overwrite = true;
}
// If the overwrite option is set, allow file overwriting
- if ((string)$manifest->attributes()->overwrite == 'true')
+ if ((string) $manifest->attributes()->overwrite == 'true')
{
$this->_overwrite = true;
}
@@ -1963,7 +1963,7 @@ public function isManifest($file, $type = 'installation')
}
else
{
- if ($xml->getName() != 'config')
+ if ($xml->getName() != 'config')
{
return null;
}

0 comments on commit 5f616d6

Please sign in to comment.