Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit 5c88183

Browse files
committed
Fix code sniffer warnings
1 parent 763d84d commit 5c88183

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Unit/TranscludeServiveProviderTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ public function testBladeDirectivesAreRegistered()
2121
->expects($this->exactly(3))
2222
->method('directive')
2323
->withConsecutive(
24-
[$this->equalTo('transclude'), $this->callback(function($item) {
24+
[$this->equalTo('transclude'), $this->callback(function ($item) {
2525
$this->assertTrue(is_callable($item));
2626
$this->assertInstanceOf(TranscludeCompiler::class, $item[0]);
2727
$this->assertEquals('compileTransclude', $item[1]);
2828

2929
return true;
3030
})],
31-
[$this->equalTo('endtransclude'), $this->callback(function($item) {
31+
[$this->equalTo('endtransclude'), $this->callback(function ($item) {
3232
$this->assertTrue(is_callable($item));
3333
$this->assertInstanceOf(TranscludeCompiler::class, $item[0]);
3434
$this->assertEquals('compileEndTransclude', $item[1]);
3535

3636
return true;
3737
})],
38-
[$this->equalTo('transcluded'), $this->callback(function($item) {
38+
[$this->equalTo('transcluded'), $this->callback(function ($item) {
3939
$this->assertTrue(is_callable($item));
4040
$this->assertInstanceOf(TranscludeCompiler::class, $item[0]);
4141
$this->assertEquals('compileTranscluded', $item[1]);
@@ -51,7 +51,7 @@ public function testBladeDirectivesAreRegistered()
5151
->will($this->returnValue($blade));
5252

5353
$resolver = new EngineResolver;
54-
$resolver->register('blade', function() use ($engine) {
54+
$resolver->register('blade', function () use ($engine) {
5555
return $engine;
5656
});
5757

@@ -65,11 +65,11 @@ public function testBladeDirectivesAreRegistered()
6565
->expects($this->once())
6666
->method('share')
6767
->with(
68-
$this->callback(function($item) {
68+
$this->callback(function ($item) {
6969
$this->assertEquals((new TranscludeCompiler)->getName(), $item);
7070
return true;
7171
}),
72-
$this->callback(function($item) {
72+
$this->callback(function ($item) {
7373
$this->assertInstanceOf(TranscludeCompiler::class, $item);
7474
return true;
7575
})

0 commit comments

Comments
 (0)