mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Formating
* removed excess ;
This commit is contained in:
@@ -23,7 +23,7 @@ class AreaTriggersPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
if (isset($this->category[0]))
|
||||
header('Location: ?areatriggers&filter=ty='.$this->category[0], true, 302);
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class EnchantmentsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new EnchantmentListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -21,7 +21,7 @@ class EventsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class FactionsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -1126,7 +1126,7 @@ class GenericPage
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;;
|
||||
return false;
|
||||
}
|
||||
|
||||
private function memcached() : Memcached
|
||||
|
||||
@@ -24,7 +24,7 @@ class NpcsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new CreatureListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -19,7 +19,7 @@ class PetsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class SkillsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class SoundsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
if (isset($this->category[0]))
|
||||
header('Location: ?sounds&filter=ty='.$this->category[0], true, 302);
|
||||
|
||||
|
||||
@@ -1761,7 +1761,7 @@ class SpellPage extends GenericPage
|
||||
if ($_ = QuestList::getName($effMV))
|
||||
$foo['name'] .= '(<a href="?quest='.$effMV.'">'.$_.'</a>)';
|
||||
else
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('quest')).' #'.$effMV;;
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('quest')).' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_SUMMON:
|
||||
case SPELL_EFFECT_SUMMON_PET:
|
||||
@@ -1845,7 +1845,7 @@ class SpellPage extends GenericPage
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('spell')).' #'.$effMV;
|
||||
}
|
||||
else
|
||||
$foo['name'] .= ' #'.$effMV;;
|
||||
$foo['name'] .= ' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_SKINNING:
|
||||
switch ($effMV)
|
||||
@@ -1877,7 +1877,7 @@ class SpellPage extends GenericPage
|
||||
if ($_ = SkillList::getName($effMV))
|
||||
$foo['name'] .= '(<a href="?skill='.$effMV.'">'.$_.'</a>)';
|
||||
else
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('skill')).' #'.$effMV;;
|
||||
$foo['name'] .= Util::ucFirst(Lang::game('skill')).' #'.$effMV;
|
||||
break;
|
||||
case SPELL_EFFECT_ACTIVATE_RUNE:
|
||||
$_ = Lang::spell('powerRunes', $effMV);
|
||||
@@ -2105,7 +2105,7 @@ class SpellPage extends GenericPage
|
||||
if ($n = SkillList::getName($effMV))
|
||||
$bar = ' (<a href="?skill='.$effMV.'">'.$n.'</a>)';
|
||||
else
|
||||
$bar = Lang::main('colon').Util::ucFirst(Lang::game('skill')).' #'.$effMV;;
|
||||
$bar = Lang::main('colon').Util::ucFirst(Lang::game('skill')).' #'.$effMV;
|
||||
|
||||
break;
|
||||
case SPELL_AURA_ADD_FLAT_MODIFIER:
|
||||
@@ -2164,7 +2164,7 @@ class SpellPage extends GenericPage
|
||||
$bar = $transform['typeId'] ? ' (<a href="?npc='.$transform['typeId'].'">'.$transform['displayName'].'</a>)' : ' (#0)';
|
||||
}
|
||||
else
|
||||
$bar = Lang::main('colon').Lang::game('npc').' #'.$effMV;;
|
||||
$bar = Lang::main('colon').Lang::game('npc').' #'.$effMV;
|
||||
|
||||
break;
|
||||
case SPELL_AURA_FORCE_REACTION:
|
||||
|
||||
@@ -91,7 +91,7 @@ class SpellsPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
$this->filterObj = new SpellListFilter(false, ['parentCats' => $this->category]);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
@@ -19,7 +19,7 @@ class TitlesPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class ZonesPage extends GenericPage
|
||||
|
||||
public function __construct($pageCall, $pageParam)
|
||||
{
|
||||
$this->getCategoryFromUrl($pageParam);;
|
||||
$this->getCategoryFromUrl($pageParam);
|
||||
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user