Issues (2)

src/helpers.php (1 issue)

Labels
Severity
1
<?php
2
3
use Pnlinh\InfobipSms\Facades\InfobipSms;
4
5
if (!function_exists('infobip_sms_send')) {
6
    /**
7
     * @param $to
8
     * @param $text
9
     *
10
     * @return mixed
11
     */
12
    function infobip_sms_send($to, $text)
13
    {
14
        return InfobipSms::send($to, $text);
0 ignored issues
show
The method send() does not exist on Pnlinh\InfobipSms\Facades\InfobipSms. Since you implemented __callStatic, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

14
        return InfobipSms::/** @scrutinizer ignore-call */ send($to, $text);
Loading history...
15
    }
16
}
17