Skip to content

Commit 013b475

Browse files
committed
style fixes
1 parent 139834c commit 013b475

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/Events/EventsDispatcherTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Illuminate\Tests\Events;
44

5-
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
65
use Mockery as m;
76
use PHPUnit\Framework\TestCase;
87
use Illuminate\Events\Dispatcher;
8+
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
99

1010
class EventsDispatcherTest extends TestCase
1111
{
@@ -240,26 +240,26 @@ public function testBothClassesAndInterfacesWork()
240240
$this->assertSame('fooo', $_SERVER['__event.test1']);
241241
$this->assertSame('baar', $_SERVER['__event.test2']);
242242
}
243-
243+
244244
public function testShouldBroadcastSuccess()
245245
{
246246
$d = m::mock(Dispatcher::class);
247-
247+
248248
$d->makePartial()->shouldAllowMockingProtectedMethods();
249-
249+
250250
$event = new BroadcastEvent();
251-
251+
252252
$this->assertTrue($d->shouldBroadcast([$event]));
253253
}
254-
254+
255255
public function testShouldBroadcastFail()
256256
{
257257
$d = m::mock(Dispatcher::class);
258-
258+
259259
$d->makePartial()->shouldAllowMockingProtectedMethods();
260-
260+
261261
$event = new BroadcastFalseCondition();
262-
262+
263263
$this->assertFalse($d->shouldBroadcast([$event]));
264264
}
265265
}
@@ -304,7 +304,7 @@ public function broadcastOn()
304304
{
305305
return ['test-channel'];
306306
}
307-
307+
308308
public function broadcastWhen()
309309
{
310310
return true;
@@ -317,4 +317,4 @@ public function broadcastWhen()
317317
{
318318
return false;
319319
}
320-
}
320+
}

0 commit comments

Comments
 (0)