b2binpay /
magento2
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace B2Binpay\Payment\Block\Adminhtml\Form\Field; |
||||
| 4 | |||||
| 5 | /** |
||||
| 6 | * Wallets Adminhtml frontend model |
||||
| 7 | */ |
||||
| 8 | class Wallets extends \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray |
||||
|
0 ignored issues
–
show
|
|||||
| 9 | { |
||||
| 10 | /** |
||||
| 11 | * {@inheritdoc} |
||||
| 12 | */ |
||||
| 13 | protected function _prepareToRender() |
||||
| 14 | { |
||||
| 15 | $this->addColumn('wallet', ['label' => __('Wallet ID'), 'class' => 'required-entry b2binpay-wallet']); |
||||
|
0 ignored issues
–
show
The function
__ was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 16 | $this->addColumn('currency', ['label' => __('Currency [store]'), 'class' => 'required-entry']); |
||||
| 17 | $this->_addAfter = false; |
||||
|
0 ignored issues
–
show
|
|||||
| 18 | $this->_addButtonLabel = __('Add Wallet'); |
||||
|
0 ignored issues
–
show
|
|||||
| 19 | } |
||||
| 20 | } |
||||
| 21 |
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