Issues (46)

src/Helpers/Language.php (2 issues)

1
<?php
2
3
namespace bSecure\Payments\Helpers;
4
5
class Language
6
{
7
    static function getMessage($key)
0 ignored issues
show
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
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 ignore-call  annotation

9
        return /** @scrutinizer ignore-call */ __($key);
Loading history...
10
    }
11
}
12