@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $this->event->bind(['foo' => 'baz']); |
| 44 | 44 | |
| 45 | - $this->event->listen('foo', function ($bar) { |
|
| 45 | + $this->event->listen('foo', function($bar) { |
|
| 46 | 46 | $this->assertEquals('bar', $bar); |
| 47 | 47 | }); |
| 48 | 48 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | public function testOnceEvent() |
| 59 | 59 | { |
| 60 | - $this->event->listen('AppInit', function ($bar) { |
|
| 60 | + $this->event->listen('AppInit', function($bar) { |
|
| 61 | 61 | $this->assertEquals('bar', $bar); |
| 62 | 62 | return 'foo'; |
| 63 | 63 | }); |
@@ -74,14 +74,14 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | $this->event->listen('some', "SomeListener"); |
| 76 | 76 | |
| 77 | - $this->assertTrue($this->event->until('some'));; |
|
| 77 | + $this->assertTrue($this->event->until('some')); ; |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | public function testSubscribe() |
| 81 | 81 | { |
| 82 | 82 | $listener = m::mock("overload:SomeListener", TestListener::class); |
| 83 | 83 | |
| 84 | - $listener->shouldReceive('subscribe')->andReturnUsing(function (Event $event) use ($listener) { |
|
| 84 | + $listener->shouldReceive('subscribe')->andReturnUsing(function(Event $event) use ($listener) { |
|
| 85 | 85 | |
| 86 | 86 | $listener->shouldReceive('onBar')->once()->andReturnFalse(); |
| 87 | 87 | |