disable extra wallet for kids

This commit is contained in:
CHIEFSOFT\ameye
2024-10-30 10:20:31 -04:00
parent 2c933cbdbd
commit 7515abfbe0
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -5,14 +5,14 @@ use CodeIgniter\Model;
class WrenchWalletModel extends Model
{
protected $allSettings;
public function __construct( $allSettings )
protected array $allSettings;
public function __construct( $allSettings )
{
parent::__construct();
$this->allSettings =$allSettings;
log_message('critical', "WrenchWalletModel _construct");
}
public function kidsExtraWallet(){
public function kidsExtraWallet():array{
return [
"amount" => 0,
@@ -36,6 +36,4 @@ protected $allSettings;
];
}
}