bluzphp /
module-wallet
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * @copyright Bluz PHP Team |
||
| 5 | * @link https://github.com/bluzphp/skeleton |
||
| 6 | */ |
||
| 7 | |||
| 8 | namespace Application\Wallets; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Class Row for `wallets` |
||
| 12 | * |
||
| 13 | * @package Application\Wallets |
||
| 14 | * |
||
| 15 | * @property integer $userId |
||
| 16 | * @property integer $amount |
||
| 17 | * @property integer $blocked |
||
| 18 | * @property string $created |
||
| 19 | * @property string $updated |
||
| 20 | * |
||
| 21 | * @author Anton Shevchuk |
||
| 22 | * @created 2017-10-19 15:21:27 |
||
| 23 | */ |
||
| 24 | class Row extends \Bluz\Db\Row |
||
|
0 ignored issues
–
show
|
|||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function beforeInsert(): void |
||
| 30 | { |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function beforeUpdate(): void |
||
| 37 | { |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * getAvailable |
||
| 42 | * |
||
| 43 | * @return int |
||
| 44 | */ |
||
| 45 | public function getAvailable() |
||
| 46 | { |
||
| 47 | return $this->amount - $this->blocked; |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths