File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public function android()
131
131
* @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
132
132
* @return $this
133
133
*/
134
- public function withAndroid (PusherMessage $ message )
134
+ public function withAndroid (self $ message )
135
135
{
136
136
$ this ->withExtra ($ message ->android ());
137
137
@@ -144,7 +144,7 @@ public function withAndroid(PusherMessage $message)
144
144
* @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
145
145
* @return $this
146
146
*/
147
- public function withiOS (PusherMessage $ message )
147
+ public function withiOS (self $ message )
148
148
{
149
149
$ this ->withExtra ($ message ->iOS ());
150
150
@@ -157,7 +157,7 @@ public function withiOS(PusherMessage $message)
157
157
* @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
158
158
* @return void
159
159
*/
160
- private function withExtra (PusherMessage $ message )
160
+ private function withExtra (self $ message )
161
161
{
162
162
if ($ message ->getPlatform () == $ this ->platform ) {
163
163
throw CouldNotCreateMessage::platformConflict ($ this ->platform );
Original file line number Diff line number Diff line change 3
3
namespace NotificationChannels \PusherPushNotifications \Test ;
4
4
5
5
use Illuminate \Support \Arr ;
6
- use NotificationChannels \PusherPushNotifications \Exceptions \CouldNotCreateMessage ;
7
- use NotificationChannels \PusherPushNotifications \PusherMessage ;
8
6
use PHPUnit_Framework_TestCase ;
7
+ use NotificationChannels \PusherPushNotifications \PusherMessage ;
8
+ use NotificationChannels \PusherPushNotifications \Exceptions \CouldNotCreateMessage ;
9
9
10
10
class MessageTest extends PHPUnit_Framework_TestCase
11
11
{
You can’t perform that action at this time.
0 commit comments