@@ -49,13 +49,13 @@ discard block |
||
| 49 | 49 | protected function getMockFormatter($withMessage = false) |
| 50 | 50 | { |
| 51 | 51 | $formatter = $this->getMockBuilder(MessageFormatterInterface::class) |
| 52 | - ->disableOriginalConstructor() |
|
| 53 | - ->getMock(); |
|
| 52 | + ->disableOriginalConstructor() |
|
| 53 | + ->getMock(); |
|
| 54 | 54 | |
| 55 | 55 | if ($withMessage) { |
| 56 | 56 | $formatter->expects($this->once()) |
| 57 | - ->method('format') |
|
| 58 | - ->will($this->returnValue($this->getTestMessage())); |
|
| 57 | + ->method('format') |
|
| 58 | + ->will($this->returnValue($this->getTestMessage())); |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | return $formatter; |
@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | protected function getMockDispatcher($withDispatch = false, $returnValue = true) |
| 65 | 65 | { |
| 66 | 66 | $dispatcher = $this->getMockBuilder(MessageDispatcherInterface::class) |
| 67 | - ->disableOriginalConstructor() |
|
| 68 | - ->getMock(); |
|
| 67 | + ->disableOriginalConstructor() |
|
| 68 | + ->getMock(); |
|
| 69 | 69 | |
| 70 | 70 | if ($withDispatch) { |
| 71 | 71 | $dispatcher->expects($this->once()) |
| 72 | - ->method('dispatch') |
|
| 73 | - ->will($this->returnValue($returnValue)); |
|
| 72 | + ->method('dispatch') |
|
| 73 | + ->will($this->returnValue($returnValue)); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | return $dispatcher; |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | 'cluster' => $this->config['cluster'], |
| 34 | 34 | 'encrypted' => $this->config['encrypted'], |
| 35 | 35 | ]; |
| 36 | - $pusher = new \Pusher( |
|
| 36 | + $pusher = new \Pusher( |
|
| 37 | 37 | $this->config['auth_key'], |
| 38 | 38 | $this->config['secret'], |
| 39 | 39 | $this->config['app_id'], |
@@ -40,6 +40,6 @@ |
||
| 40 | 40 | ] |
| 41 | 41 | ); |
| 42 | 42 | |
| 43 | - return ! empty($sent); |
|
| 43 | + return !empty($sent); |
|
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | \ No newline at end of file |
@@ -30,6 +30,6 @@ |
||
| 30 | 30 | |
| 31 | 31 | $sent = $this->mailer->send($mail); |
| 32 | 32 | |
| 33 | - return ! empty($sent); |
|
| 33 | + return !empty($sent); |
|
| 34 | 34 | } |
| 35 | 35 | } |
| 36 | 36 | \ No newline at end of file |