Completed
Branch master (f8f249)
by Julián
04:33
created
src/Message/Gcm.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Message;
11 11
 
Please login to merge, or discard this patch.
src/Notification/Apns.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Notification;
11 11
 
Please login to merge, or discard this patch.
src/Notification/Gcm.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Notification;
11 11
 
Please login to merge, or discard this patch.
src/Service/AbstractService.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service;
11 11
 
Please login to merge, or discard this patch.
src/Service/Client/ApnsBuilder.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service\Client;
11 11
 
Please login to merge, or discard this patch.
src/Service/Client/GcmBuilder.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service\Client;
11 11
 
Please login to merge, or discard this patch.
src/Service/FeedbackInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service;
11 11
 
Please login to merge, or discard this patch.
src/Service/Gcm.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service;
11 11
 
Please login to merge, or discard this patch.
src/Service/Message/ApnsBuilder.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Push notification services abstraction (http://github.com/juliangut/tify)
4
- *
5
- * @link https://github.com/juliangut/tify for the canonical source repository
6
- *
7
- * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
- */
3
+     * Push notification services abstraction (http://github.com/juliangut/tify)
4
+     *
5
+     * @link https://github.com/juliangut/tify for the canonical source repository
6
+     *
7
+     * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Tify\Service\Message;
11 11
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
         $message = $notification->getMessage();
30 30
 
31 31
         $badge = ((int) $notification->getOption('badge', 0) === 0)
32
-            ? null :
33
-            $notification->getOption('badge') + (int) $device->getParameter('badge', 0);
32
+            ? null : $notification->getOption('badge') + (int) $device->getParameter('badge', 0);
34 33
 
35 34
         $pushMessage = new Message();
36 35
 
Please login to merge, or discard this patch.