bSecureCheckout /
bsecure-payments-php
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace bSecure\Payments\Helpers; |
||||
| 4 | |||||
| 5 | class Language |
||||
| 6 | { |
||||
| 7 | static function getMessage($key) |
||||
|
0 ignored issues
–
show
|
|||||
| 8 | { |
||||
| 9 | return __($key); |
||||
|
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...
|
|||||
| 10 | } |
||||
| 11 | } |
||||
| 12 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.