Skip to content

Commit 10ed7ba

Browse files
authored
Merge pull request #76 from Alymosul/analysis-QM9NVZ
Apply fixes from StyleCI
2 parents dc6dec3 + cc76c48 commit 10ed7ba

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

src/ExpoChannel.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class ExpoChannel
2424
/**
2525
* ExpoChannel constructor.
2626
*
27-
* @param Expo $expo
28-
* @param Dispatcher $events
27+
* @param Expo $expo
28+
* @param Dispatcher $events
2929
*/
3030
public function __construct(Expo $expo, Dispatcher $events)
3131
{
@@ -36,8 +36,8 @@ public function __construct(Expo $expo, Dispatcher $events)
3636
/**
3737
* Send the given notification.
3838
*
39-
* @param mixed $notifiable
40-
* @param \Illuminate\Notifications\Notification $notification
39+
* @param mixed $notifiable
40+
* @param \Illuminate\Notifications\Notification $notification
4141
*
4242
* @throws CouldNotSendNotification
4343
*

src/ExpoMessage.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class ExpoMessage
6666
/**
6767
* Create a message with given body.
6868
*
69-
* @param string $body
69+
* @param string $body
7070
*
7171
* @return static
7272
*/
@@ -78,7 +78,7 @@ public static function create($body = '')
7878
/**
7979
* ExpoMessage constructor.
8080
*
81-
* @param string $body
81+
* @param string $body
8282
*/
8383
public function __construct(string $body = '')
8484
{
@@ -88,7 +88,7 @@ public function __construct(string $body = '')
8888
/**
8989
* Set the message title.
9090
*
91-
* @param string $value
91+
* @param string $value
9292
*
9393
* @return $this
9494
*/
@@ -102,7 +102,7 @@ public function title(string $value)
102102
/**
103103
* Set the message body.
104104
*
105-
* @param string $value
105+
* @param string $value
106106
*
107107
* @return $this
108108
*/
@@ -140,7 +140,7 @@ public function disableSound()
140140
/**
141141
* Set the message badge (iOS).
142142
*
143-
* @param int $value
143+
* @param int $value
144144
*
145145
* @return $this
146146
*/
@@ -154,7 +154,7 @@ public function badge(int $value)
154154
/**
155155
* Set the time to live of the notification.
156156
*
157-
* @param int $ttl
157+
* @param int $ttl
158158
*
159159
* @return $this
160160
*/
@@ -168,7 +168,7 @@ public function setTtl(int $ttl)
168168
/**
169169
* Set the channelId of the notification for Android devices.
170170
*
171-
* @param string $channelId
171+
* @param string $channelId
172172
*
173173
* @return $this
174174
*/
@@ -182,7 +182,7 @@ public function setChannelId(string $channelId)
182182
/**
183183
* Set the json Data attached to the message.
184184
*
185-
* @param array|string $data
185+
* @param array|string $data
186186
*
187187
* @return $this
188188
*
@@ -208,7 +208,7 @@ public function setJsonData($data)
208208
/**
209209
* Set the priority of the notification, must be one of [default, normal, high].
210210
*
211-
* @param string $priority
211+
* @param string $priority
212212
*
213213
* @return $this
214214
*/

src/ExpoPushNotificationsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function setupConfig()
8181
/**
8282
* Publishes the migration files needed in the package.
8383
*
84-
* @param ExpoRepository $repository
84+
* @param ExpoRepository $repository
8585
*
8686
* @return void
8787
*/

src/Http/ExpoController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ExpoController extends Controller
1919
/**
2020
* ExpoController constructor.
2121
*
22-
* @param ExpoChannel $expoChannel
22+
* @param ExpoChannel $expoChannel
2323
*/
2424
public function __construct(ExpoChannel $expoChannel)
2525
{
@@ -29,7 +29,7 @@ public function __construct(ExpoChannel $expoChannel)
2929
/**
3030
* Handles subscription endpoint for an expo token.
3131
*
32-
* @param Request $request
32+
* @param Request $request
3333
*
3434
* @return \Illuminate\Http\JsonResponse
3535
*/
@@ -72,7 +72,7 @@ public function subscribe(Request $request)
7272
/**
7373
* Handles removing subscription endpoint for the authenticated interest.
7474
*
75-
* @param Request $request
75+
* @param Request $request
7676
*
7777
* @return JsonResponse
7878
*/

src/Models/Interest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Interest extends Model
4040
/**
4141
* Interest constructor.
4242
*
43-
* @param array $attributes
43+
* @param array $attributes
4444
*/
4545
public function __construct(array $attributes = [])
4646
{

src/Repositories/ExpoDatabaseDriver.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function store($key, $value): bool
2828
/**
2929
* Retrieves an Expo token with a given identifier.
3030
*
31-
* @param string $key
31+
* @param string $key
3232
*
3333
* @return array
3434
*/
@@ -40,8 +40,8 @@ public function retrieve(string $key)
4040
/**
4141
* Removes an Expo token with a given identifier.
4242
*
43-
* @param string $key
44-
* @param string $value
43+
* @param string $key
44+
* @param string $value
4545
*
4646
* @return bool
4747
*/

tests/ExpoControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ExpoControllerTest extends TestCase
2626
/**
2727
* Sets up the expo controller with the given expo channel.
2828
*
29-
* @param ExpoRepository $expoRepository
29+
* @param ExpoRepository $expoRepository
3030
*
3131
* @return array
3232
*/
@@ -250,7 +250,7 @@ public function mockRequest($data)
250250
}
251251

252252
/**
253-
* @param bool $fails
253+
* @param bool $fails
254254
*
255255
* @return \Mockery\MockInterface
256256
*/

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function getPackageProviders($app)
2929
/**
3030
* Define environment setup.
3131
*
32-
* @param \Illuminate\Foundation\Application $app
32+
* @param \Illuminate\Foundation\Application $app
3333
*
3434
* @return void
3535
*/

0 commit comments

Comments
 (0)