We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | public function build(AbstractSmrPlayer $player, Template $template): void { |
||
15 | // is account validated? |
||
16 | if (!$player->getAccount()->isValidated()) { |
||
17 | create_error('You are not validated so you cannot use banks.'); |
||
18 | } |
||
19 | |||
20 | $template->assign('PageTopic', 'Bank'); |
||
21 | |||
22 | Menu::bank(); |
||
23 | |||
24 | $container = new PersonalBankProcessor(); |
||
25 | $template->assign('ProcessingHREF', $container->href()); |
||
26 | } |
||
29 |