Completed
Push — master ( 35b03e...de1be5 )
by Thomas Mauro
04:32
created
src/Service/ConnectionStatusDelegatorFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @param callable           $callback
24 24
      * @param null|array         $options
25 25
      *
26
-     * @return object
26
+     * @return Client
27 27
      *
28 28
      * @throws ServiceNotFoundException   if unable to resolve the service.
29 29
      * @throws ServiceNotCreatedException if an exception is raised when
Please login to merge, or discard this patch.
test/unit/Event/EventForwarderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
         $eventManager->expects(static::once())
28 28
             ->method('triggerEvent')
29
-            ->with(static::callback(function (PamiEvent $e) use ($client, $pamiEvent) {
29
+            ->with(static::callback(function(PamiEvent $e) use ($client, $pamiEvent) {
30 30
                 static::assertInstanceOf('PamiModule\\Event\\PamiEvent', $e);
31 31
                 static::assertSame($client, $e->getTarget());
32 32
                 static::assertSame($pamiEvent, $e->getEvent());
Please login to merge, or discard this patch.
test/unit/Service/ConnectionStatusDelegatorFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             ->method('attach')
32 32
             ->with($eventManager);
33 33
 
34
-        $callback = function () use ($client) {
34
+        $callback = function() use ($client) {
35 35
             return $client;
36 36
         };
37 37
 
Please login to merge, or discard this patch.
src/Service/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
     {
165 165
         $params = new ArrayObject(['action' => $action]);
166 166
         $results = $this->getEventManager()->triggerUntil(
167
-            function ($response) {
167
+            function($response) {
168 168
                 return $response instanceof ResponseMessage;
169 169
             },
170 170
             __FUNCTION__.'.pre',
Please login to merge, or discard this patch.
test/unit/Service/ClientTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
         $eventManager->expects(static::exactly(1))
291 291
             ->method('triggerEventUntil')
292 292
             ->with(static::callback(
293
-                function ($callback) use ($response) {
293
+                function($callback) use ($response) {
294 294
                     static::assertFalse($callback(null));
295 295
                     static::assertFalse($callback('string'));
296 296
                     static::assertFalse($callback([]));
Please login to merge, or discard this patch.