@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -1,11 +1,11 @@ |
||
| 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 | |
@@ -29,8 +29,7 @@ |
||
| 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 | |