Completed
Push — master ( 2e795e...b567ce )
by Kévin
15:13
created
src/Mail/SwiftMailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Send a mail.
33 33
      *
34
-     * @param WZRD\Contracts\Mail\Message $message
34
+     * @param MessageContract $message
35 35
      * @param array                       $options
36 36
      */
37 37
     public function send(MessageContract $message, $options = [])
Please login to merge, or discard this patch.
src/Messaging/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * Handle the message.
13 13
      *
14
-     * @param WZRD\Contracts\Messaging\Message $message
14
+     * @param MessageContract $message
15 15
      *
16 16
      * @return mixed
17 17
      */
Please login to merge, or discard this patch.
src/Messaging/TacticianBus.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Build the bus.
21 21
      *
22
-     * @param Middleware[] $middleware
22
+     * @param Middleware[] $middlewares
23 23
      */
24 24
     public function __construct(array $middlewares = [])
25 25
     {
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Dispatch a message to its appropriate handler.
35 35
      *
36
-     * @param WZRD\Contracts\Messaging\Message $message
36
+     * @param MessageContract $message
37 37
      */
38 38
     public function dispatch(MessageContract $message)
39 39
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Subscribes the handler to this bus.
53 53
      *
54
-     * @param WZRD\Contracts\Messaging\Handler $handler
54
+     * @param HandlerContract $handler
55 55
      */
56 56
     public function subscribe(HandlerContract $handler)
57 57
     {
Please login to merge, or discard this patch.
src/Profiling/StatsdProfiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Initialize measurer with StatsD instance.
19 19
      *
20
-     * @param League\StatsD\Client $statsd
20
+     * @param Statsd $statsd
21 21
      */
22 22
     public function __construct(Statsd $statsd)
23 23
     {
Please login to merge, or discard this patch.
src/Push/ZendApnsPusher.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Construct with Zend APNS Client instance.
21 21
      *
22
-     * @param ZendService\Apple\Apns\Client\Message $client
22
+     * @param Client $client
23 23
      */
24 24
     public function __construct(Client $client)
25 25
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Push message.
31 31
      *
32
-     * @param WZRD\Contracts\Push\Notification $notification
32
+     * @param NotificationContract $notification
33 33
      * @param array                            $options
34 34
      */
35 35
     public function push(NotificationContract $notification, array $options = [])
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * Get supported platforms.
84 84
      *
85
-     * @return array
85
+     * @return string[]
86 86
      */
87 87
     public function getSupportedPlatforms()
88 88
     {
Please login to merge, or discard this patch.
src/Push/ZendGcmPusher.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Construct with Zend GCM Client instance.
22 22
      *
23
-     * @param ZendService\Google\Gcm\Client $client
23
+     * @param Client $client
24 24
      */
25 25
     public function __construct(Client $client)
26 26
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Push message.
37 37
      *
38
-     * @param WZRD\Contracts\Push\Notification $notification
38
+     * @param NotificationContract $notification
39 39
      * @param array                            $options
40 40
      */
41 41
     public function push(NotificationContract $notification, array $options = [])
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * Get supported platforms.
89 89
      *
90
-     * @return array
90
+     * @return string[]
91 91
      */
92 92
     public function getSupportedPlatforms()
93 93
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use WZRD\Contracts\Push\Notification as NotificationContract;
6 6
 use WZRD\Contracts\Push\Pusher;
7
-use Zend\Http\Client as Http;
8 7
 use ZendService\Google\Gcm\Client;
9 8
 use ZendService\Google\Gcm\Message;
9
+use Zend\Http\Client as Http;
10 10
 
11 11
 class ZendGcmPusher implements Pusher
12 12
 {
Please login to merge, or discard this patch.
src/Transformer/FractalTransformer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Create a new fractal transformer instance.
29 29
      *
30
-     * @param League\Fractal\Manager $fractal
30
+     * @param Fractal\Manager $fractal
31 31
      * @param callable               $route_generator
32 32
      */
33 33
     public function __construct(Fractal\Manager $fractal, callable $route_generator = null)
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * Create a Fractal resource instance.
61 61
      *
62 62
      * @param mixed                              $value
63
-     * @param League\Fractal\TransformerAbstract $transformer
63
+     * @param TransformerAbstract $transformer
64 64
      *
65 65
      * @return League\Fractal\Resource\ResourceAbstract
66 66
      */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace WZRD\Transformer;
4 4
 
5 5
 use League\Fractal;
6
-use Pagerfanta\Pagerfanta;
6
+use League\Fractal\Pagination\PagerfantaPaginatorAdapter;
7 7
 use League\Fractal\TransformerAbstract;
8
+use Pagerfanta\Pagerfanta;
8 9
 use WZRD\Contracts\Transformer\Transformer;
9
-use League\Fractal\Pagination\PagerfantaPaginatorAdapter;
10 10
 
11 11
 class FractalTransformer implements Transformer
12 12
 {
Please login to merge, or discard this patch.