Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
the
formatting
  • Loading branch information
detain committed Apr 4, 2019
1 parent 133cae3 commit 3c6734a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public static function getHooks()
*/
public static function getRequirements(GenericEvent $event)
{
/**
* @var \MyAdmin\Plugins\Loader $this->loader
*/
$loader = $event->getSubject();
/**
* @var \MyAdmin\Plugins\Loader $this->loader
*/
$loader = $event->getSubject();
$loader->add_page_requirement('vps_add_fantastico', '/../vendor/detain/myadmin-fantastico-vps-addon/src/vps_add_fantastico.php');
}

Expand Down Expand Up @@ -107,12 +107,12 @@ public static function doDisable(\ServiceHandler $serviceOrder, $repeatInvoiceId
/**
* @param \Symfony\Component\EventDispatcher\GenericEvent $event
*/
public static function getSettings(GenericEvent $event)
{
/**
* @var \MyAdmin\Settings $settings
**/
$settings = $event->getSubject();
public static function getSettings(GenericEvent $event)
{
/**
* @var \MyAdmin\Settings $settings
**/
$settings = $event->getSubject();
$settings->add_text_setting(self::$module, _('Addon Costs'), 'vps_fantastico_cost', _('VPS Fantastico License'), _('This is the cost for purchasing a fantastico license on top of a VPS.'), $settings->get_setting('VPS_FANTASTICO_COST'));
}
}

0 comments on commit 3c6734a

Please sign in to comment.