Skip to content

Commit

Permalink
CS: PSR-2
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Sep 25, 2015
1 parent 4cee7b9 commit b5b5fb4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Console/ModuleScaffoldCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function fire()
*/
private function askForEntities()
{
$this->entityType = $this->anticipate('Do you want to use Eloquent or Doctrine ?', ['Eloquent','Doctrine'], 'Eloquent');
$this->entityType = $this->anticipate('Do you want to use Eloquent or Doctrine ?', ['Eloquent', 'Doctrine'], 'Eloquent');

do {
$entity = $this->ask('Enter entity name. Leaving option empty will continue script.', '<none>');
Expand Down
1 change: 0 additions & 1 deletion Http/Controllers/Admin/ThemesController.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Modules\Workshop\Http\Controllers\Admin;

use FloatingPoint\Stylist\Theme\Theme;
use Illuminate\Filesystem\Filesystem;
use Modules\Core\Http\Controllers\Admin\AdminBaseController;
use Modules\Workshop\Manager\ThemeManager;

Expand Down
2 changes: 0 additions & 2 deletions Manager/StylistThemeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

use FloatingPoint\Stylist\Theme\Exceptions\ThemeNotFoundException;
use FloatingPoint\Stylist\Theme\Json;
use FloatingPoint\Stylist\Theme\Loader;
use FloatingPoint\Stylist\Theme\Theme;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Yaml\Parser;

Expand Down
2 changes: 1 addition & 1 deletion Providers/WorkshopServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private function registerThemeScaffoldCommand()
*/
private function bindThemeManager()
{
$this->app->singleton(ThemeManager::class, function($app) {
$this->app->singleton(ThemeManager::class, function ($app) {
return new StylistThemeManager($app['files']);
});
}
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/admin/themes/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</thead>
<tbody>
<?php if (isset($themes)): ?>
<?php foreach($themes as $theme): ?>
<?php foreach ($themes as $theme): ?>
<tr>
<td>
<a href="{{ route('admin.workshop.themes.show', [$theme->getName()]) }}">
Expand Down

0 comments on commit b5b5fb4

Please sign in to comment.