Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit ff8fb25

Browse files
CS fixes
1 parent 37bd96a commit ff8fb25

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/NavigationServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function registerNavigation()
8484
public function provides()
8585
{
8686
return array(
87-
'navigation'
87+
'navigation',
8888
);
8989
}
9090
}

tests/Facades/NavigationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
namespace GrahamCampbell\Tests\Navigation\Facades;
1818

19-
use GrahamCampbell\Tests\Navigation\AbstractTestCase;
2019
use GrahamCampbell\TestBench\Traits\FacadeTestCaseTrait;
20+
use GrahamCampbell\Tests\Navigation\AbstractTestCase;
2121

2222
/**
2323
* This is the navigation facade test class.

tests/NavigationTest.php

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

1717
namespace GrahamCampbell\Tests\Navigation;
1818

19-
use Mockery;
20-
use ReflectionClass;
21-
use Illuminate\Http\Request;
2219
use GrahamCampbell\Navigation\Navigation;
2320
use GrahamCampbell\TestBench\AbstractTestCase as AbstractTestBenchTestCase;
21+
use Illuminate\Http\Request;
22+
use Mockery;
23+
use ReflectionClass;
2424

2525
/**
2626
* This is the navigation class test class.
@@ -53,7 +53,7 @@ public function testMainDefault()
5353
$expected = array(
5454
array('title' => 'Next', 'active' => true, 'url' => 'http://laravel.com/next'),
5555
array('title' => 'Test', 'active' => false, 'url' => 'http://laravel.com/test'),
56-
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false)
56+
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false),
5757
);
5858

5959
$this->assertSame($expected, $return);
@@ -81,7 +81,7 @@ public function testMainOther()
8181
$expected = array(
8282
array('title' => 'Next', 'active' => true, 'url' => 'http://laravel.com/next'),
8383
array('title' => 'Test', 'active' => false, 'url' => 'http://laravel.com/test'),
84-
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false)
84+
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false),
8585
);
8686

8787
$this->assertSame($expected, $return);
@@ -120,7 +120,7 @@ public function testBarDefault()
120120
$expected = array(
121121
array('title' => 'Next', 'url' => 'http://laravel.com/next'),
122122
array('title' => 'Test', 'url' => 'http://laravel.com/test'),
123-
array('title' => 'Laravel', 'url' => 'http://laravel.com/url')
123+
array('title' => 'Laravel', 'url' => 'http://laravel.com/url'),
124124
);
125125

126126
$this->assertSame($expected, $return);
@@ -145,7 +145,7 @@ public function testBarOther()
145145
$expected = array(
146146
array('title' => 'Next', 'url' => 'http://laravel.com/next'),
147147
array('title' => 'Test', 'url' => 'http://laravel.com/test'),
148-
array('title' => 'Laravel', 'url' => 'http://laravel.com/url')
148+
array('title' => 'Laravel', 'url' => 'http://laravel.com/url'),
149149
);
150150

151151
$this->assertSame($expected, $return);
@@ -195,7 +195,7 @@ public function testGetHTMLNoBar()
195195
'side' => 'dropdown',
196196
'inverse' => true,
197197
'main' => array(array('title' => 'Test', 'url' => 'http://laravel.com/test')),
198-
'bar' => false
198+
'bar' => false,
199199
);
200200

201201
$navigation->getView()->shouldReceive('make')->once()
@@ -220,7 +220,7 @@ public function testGetHTMLEmptyBar()
220220
'side' => 'dropdown',
221221
'inverse' => true,
222222
'main' => array(array('title' => 'Test', 'url' => 'http://laravel.com/test')),
223-
'bar' => array()
223+
'bar' => array(),
224224
);
225225

226226
$navigation->getView()->shouldReceive('make')->once()
@@ -246,7 +246,7 @@ public function testGetHTMLWithBar()
246246
'side' => 'dropdown',
247247
'inverse' => true,
248248
'main' => array(array('title' => 'Test', 'url' => 'http://laravel.com/test')),
249-
'bar' => array(array('title' => 'Test', 'url' => 'http://laravel.com/test'))
249+
'bar' => array(array('title' => 'Test', 'url' => 'http://laravel.com/test')),
250250
);
251251

252252
$navigation->getView()->shouldReceive('make')->once()

0 commit comments

Comments
 (0)