Fix styling #15
Annotations
8 errors
phpstan:
src/Services/PocketServices.php#L16
Call to an undefined method Illuminate\Database\Eloquent\Model::deposit().
|
phpstan:
src/Services/PocketServices.php#L28
Call to an undefined method Illuminate\Database\Eloquent\Model::pay().
|
phpstan:
src/Services/PocketServices.php#L36
Access to an undefined property Illuminate\Database\Eloquent\Model::$walletBalance.
|
phpstan:
src/Services/PocketServices.php#L44
Call to an undefined method Illuminate\Database\Eloquent\Model::getWalletBalanceByType().
|
phpstan:
src/Traits/BalanceOperation.php (in context of class HPWebdeveloper/LaravelPayPocket/Models/Wallet)#L60
Offset 0 on array{'Illuminate\\Support\\Str', 'random', array{mixed}} in isset() always exists and is not nullable.
|
phpstan:
src/Traits/BalanceOperation.php (in context of class HPWebdeveloper/LaravelPayPocket/Models/Wallet)#L60
Offset 1 on array{'Illuminate\\Support\\Str', 'random', array{mixed}} in isset() always exists and is not nullable.
|
phpstan:
src/Traits/BalanceOperation.php (in context of class HPWebdeveloper/LaravelPayPocket/Models/Wallet)#L61
Offset 2 on array{'Illuminate\\Support\\Str', 'random', array{mixed}} on left side of ?? always exists and is not nullable.
|
phpstan
Process completed with exit code 1.
|