Passed
Push — master ( 40cb89...896f76 )
by Action
02:45
created
src/UnitPay.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     /**
17 17
      * Allow access, if the ip address is in the whitelist.
18
-     * @param $ip
18
+     * @param string $ip
19 19
      * @return bool
20 20
      */
21 21
     public function allowIP($ip)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * Return JSON error message.
33
-     * @param $message
33
+     * @param string $message
34 34
      * @return mixed
35 35
      */
36 36
     public function responseError($message)
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * Return JSON success message.
45
-     * @param $message
45
+     * @param string $message
46 46
      * @return mixed
47 47
      */
48 48
     public function responseOK($message)
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * Fill event details to pass the title and request params as array.
57
-     * @param $event_type
58
-     * @param $event_title
57
+     * @param string $event_type
58
+     * @param string $event_title
59 59
      * @param Request $request
60 60
      */
61 61
     public function eventFillAndSend($event_type, $event_title, Request $request)
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     /**
326 326
      * Call PaidOrderFilter if order not paid.
327 327
      * @param Request $request
328
-     * @param $order
328
+     * @param boolean $order
329 329
      * @return mixed
330 330
      * @throws InvalidConfiguration
331 331
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 use Illuminate\Support\Facades\Validator;
7
-
8 7
 use ActionM\UnitPay\Events\UnitPayEvent;
9 8
 use ActionM\UnitPay\Exceptions\InvalidConfiguration;
10 9
 
Please login to merge, or discard this patch.
src/UnitPayNotification.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace ActionM\UnitPay;
4 4
 
5 5
 use ActionM\UnitPay\Events\UnitPayEvent;
6
-
7 6
 use Illuminate\Bus\Queueable;
8 7
 use Illuminate\Contracts\Queue\ShouldQueue;
9
-
10 8
 use Illuminate\Notifications\Messages\MailMessage;
11 9
 use Illuminate\Notifications\Messages\SlackMessage;
12 10
 use Illuminate\Notifications\Messages\SlackAttachment;
Please login to merge, or discard this patch.
src/UnitPayServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace ActionM\UnitPay;
4 4
 
5 5
 use ActionM\UnitPay\Exceptions\InvalidConfiguration;
6
-
7 6
 use Illuminate\Support\Facades\App;
8 7
 use Illuminate\Support\ServiceProvider;
9 8
 
Please login to merge, or discard this patch.