CS fixes
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
<?php
|
||||
|
||||
class HomeController extends Controller {
|
||||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var Component $component
|
||||
*/
|
||||
protected $component;
|
||||
|
||||
public function __construct(Component $component) {
|
||||
public function __construct(Component $component)
|
||||
{
|
||||
$this->component = $component;
|
||||
}
|
||||
|
||||
@@ -14,7 +16,8 @@ class HomeController extends Controller {
|
||||
* Returns the rendered Blade templates.
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function showIndex() {
|
||||
public function showIndex()
|
||||
{
|
||||
return View::make('index', ['components' => $this->component->all()]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user