Completed
Push — master ( e0b830...ae6bd1 )
by Oliver
02:23
created
Client/ClientCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getApnsClients()
56 56
     {
57
-        return $this->filter(function (ClientInterface $client) {
57
+        return $this->filter(function(ClientInterface $client) {
58 58
             return $client instanceof ApnsClient;
59 59
         });
60 60
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function getGcmClients()
68 68
     {
69
-        return $this->filter(function (ClientInterface $client) {
69
+        return $this->filter(function(ClientInterface $client) {
70 70
             return $client instanceof GcmClient;
71 71
         });
72 72
     }
Please login to merge, or discard this patch.
DependencyInjection/LinkValueMobileNotifExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@
 block discarded – undo
52 52
                 ;
53 53
 
54 54
                 // Set optional logger
55
-                if(!empty($services['logger'])) {
55
+                if (!empty($services['logger'])) {
56 56
                     $client->addMethodCall('setLogger', array(new Reference($services['logger'])));
57 57
                 }
58 58
 
59 59
                 // Set optional profiler
60
-                if(!empty($services['profiler'])) {
60
+                if (!empty($services['profiler'])) {
61 61
                     $client->addMethodCall('setClientProfiler', array(new Reference($services['profiler'])));
62 62
                 }
63 63
             }
Please login to merge, or discard this patch.
Command/ApnsPushCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             throw new \RuntimeException('You must configure at least one APNS client to be able to push messages with this command.');
57 57
         }
58 58
 
59
-        $apnsClients->forAll(function ($key, ApnsClient $client) use ($message, $output) {
59
+        $apnsClients->forAll(function($key, ApnsClient $client) use ($message, $output) {
60 60
             $output->writeln(sprintf('Sending message "%s" using APNS [%s] client...', $message->getSimpleAlert(), $key));
61 61
             $client->push($message);
62 62
 
Please login to merge, or discard this patch.
Command/GcmPushCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             throw new \RuntimeException('You must configure at least one GCM client to be able to push messages with this command.');
59 59
         }
60 60
 
61
-        $gcmClients->forAll(function ($key, GcmClient $client) use ($message, $output) {
61
+        $gcmClients->forAll(function($key, GcmClient $client) use ($message, $output) {
62 62
             $output->writeln(sprintf('Sending message "%s" using GCM [%s] client...', $message->getNotificationBody(), $key));
63 63
             $client->push($message);
64 64
 
Please login to merge, or discard this patch.