@@ -31,7 +31,7 @@ |
||
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 = []) |
@@ -11,7 +11,7 @@ |
||
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 | */ |
@@ -19,7 +19,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -17,7 +17,7 @@ |
||
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 | { |
@@ -19,7 +19,7 @@ discard block |
||
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 |
||
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 |
||
82 | 82 | /** |
83 | 83 | * Get supported platforms. |
84 | 84 | * |
85 | - * @return array |
|
85 | + * @return string[] |
|
86 | 86 | */ |
87 | 87 | public function getSupportedPlatforms() |
88 | 88 | { |
@@ -20,7 +20,7 @@ discard block |
||
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 |
||
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 |
||
87 | 87 | /** |
88 | 88 | * Get supported platforms. |
89 | 89 | * |
90 | - * @return array |
|
90 | + * @return string[] |
|
91 | 91 | */ |
92 | 92 | public function getSupportedPlatforms() |
93 | 93 | { |
@@ -4,9 +4,9 @@ |
||
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 | { |
@@ -27,7 +27,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -3,10 +3,10 @@ |
||
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 | { |