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()
131131 * @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
132132 * @return $this
133133 */
134- public function withAndroid (PusherMessage $ message )
134+ public function withAndroid (self $ message )
135135 {
136136 $ this ->withExtra ($ message ->android ());
137137
@@ -144,7 +144,7 @@ public function withAndroid(PusherMessage $message)
144144 * @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
145145 * @return $this
146146 */
147- public function withiOS (PusherMessage $ message )
147+ public function withiOS (self $ message )
148148 {
149149 $ this ->withExtra ($ message ->iOS ());
150150
@@ -157,7 +157,7 @@ public function withiOS(PusherMessage $message)
157157 * @param \NotificationChannels\PusherPushNotifications\PusherMessage $message
158158 * @return void
159159 */
160- private function withExtra (PusherMessage $ message )
160+ private function withExtra (self $ message )
161161 {
162162 if ($ message ->getPlatform () == $ this ->platform ) {
163163 throw CouldNotCreateMessage::platformConflict ($ this ->platform );
Original file line number Diff line number Diff line change 33namespace NotificationChannels \PusherPushNotifications \Test ;
44
55use Illuminate \Support \Arr ;
6- use NotificationChannels \PusherPushNotifications \Exceptions \CouldNotCreateMessage ;
7- use NotificationChannels \PusherPushNotifications \PusherMessage ;
86use PHPUnit_Framework_TestCase ;
7+ use NotificationChannels \PusherPushNotifications \PusherMessage ;
8+ use NotificationChannels \PusherPushNotifications \Exceptions \CouldNotCreateMessage ;
99
1010class MessageTest extends PHPUnit_Framework_TestCase
1111{
You can’t perform that action at this time.
0 commit comments