@@ -76,7 +76,7 @@ public function availableRepositories()
7676 */
7777 public function aDeviceCanSubscribeToTheSystem ($ expoRepository )
7878 {
79- list ( $ expoController , $ expoChannel) = $ this ->setupExpo ($ expoRepository );
79+ [ $ expoController , $ expoChannel] = $ this ->setupExpo ($ expoRepository );
8080
8181 // We will fake a request with the following data
8282 $ data = ['expo_token ' => 'ExponentPushToken[fakeToken] ' ];
@@ -110,7 +110,7 @@ public function aDeviceCanSubscribeToTheSystem($expoRepository)
110110 */
111111 public function subscribeReturnsErrorResponseIfTokenInvalid ($ expoRepository )
112112 {
113- list ( $ expoController , $ expoChannel) = $ this ->setupExpo ($ expoRepository );
113+ [ $ expoController , $ expoChannel] = $ this ->setupExpo ($ expoRepository );
114114
115115 // We will fake a request with no data
116116 $ request = $ this ->mockRequest ([]);
@@ -158,7 +158,7 @@ public function subscribeReturnsErrorResponseIfExceptionIsThrown()
158158 */
159159 public function aDeviceCanUnsubscribeSingleTokenFromTheSystem ($ expoRepository )
160160 {
161- list ( $ expoController , $ expoChannel) = $ this ->setupExpo ($ expoRepository );
161+ [ $ expoController , $ expoChannel] = $ this ->setupExpo ($ expoRepository );
162162
163163 // We will fake a request with the following data
164164 $ data = ['expo_token ' => 'ExponentPushToken[fakeToken] ' ];
@@ -194,7 +194,7 @@ public function aDeviceCanUnsubscribeSingleTokenFromTheSystem($expoRepository)
194194 */
195195 public function aDeviceCanUnsubscribeFromTheSystem ($ expoRepository )
196196 {
197- list ( $ expoController , $ expoChannel) = $ this ->setupExpo ($ expoRepository );
197+ [ $ expoController , $ expoChannel] = $ this ->setupExpo ($ expoRepository );
198198
199199 // We will fake a request with the following data
200200 $ request = $ this ->mockRequest ([]);
0 commit comments