for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php declare(strict_types=1);
namespace Smr\Pages\Player\Bank;
use AbstractSmrPlayer;
use Menu;
use Smr\Page\PlayerPage;
use Smr\Template;
class PersonalBank extends PlayerPage {
public string $file = 'bank_personal.php';
public function build(AbstractSmrPlayer $player, Template $template): void {
// is account validated?
if (!$player->getAccount()->isValidated()) {
create_error('You are not validated so you cannot use banks.');
}
$template->assign('PageTopic', 'Bank');
Menu::bank();
$container = new PersonalBankProcessor();
$template->assign('ProcessingHREF', $container->href());