@@ -29,11 +29,11 @@ discard block |
||
| 29 | 29 | // parameter represents the DataTables column identifier. In this case simple |
| 30 | 30 | // indexes |
| 31 | 31 | $columns = array( |
| 32 | - array( 'db' => 'id', 'dt' => 0 ), |
|
| 33 | - array( 'db' => 'firstname', 'dt' => 1 ), |
|
| 34 | - array( 'db' => 'surname', 'dt' => 2 ), |
|
| 35 | - array( 'db' => 'zip', 'dt' => 3 ), |
|
| 36 | - array( 'db' => 'country', 'dt' => 4 ) |
|
| 32 | + array('db' => 'id', 'dt' => 0), |
|
| 33 | + array('db' => 'firstname', 'dt' => 1), |
|
| 34 | + array('db' => 'surname', 'dt' => 2), |
|
| 35 | + array('db' => 'zip', 'dt' => 3), |
|
| 36 | + array('db' => 'country', 'dt' => 4) |
|
| 37 | 37 | ); |
| 38 | 38 | |
| 39 | 39 | // SQL server connection information |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | * server-side, there is no need to edit below this line. |
| 51 | 51 | */ |
| 52 | 52 | |
| 53 | -require( '../../../../examples/server_side/scripts/ssp.class.php' ); |
|
| 53 | +require('../../../../examples/server_side/scripts/ssp.class.php'); |
|
| 54 | 54 | |
| 55 | 55 | echo json_encode( |
| 56 | - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) |
|
| 56 | + SSP::simple($_GET, $sql_details, $table, $primaryKey, $columns) |
|
| 57 | 57 | ); |
| 58 | 58 | |
@@ -23,10 +23,10 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | if ($this->app->runningInConsole()) { |
| 26 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class]); |
|
| 26 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class ]); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - $this->app->bind('AdminLTE', function () { |
|
| 29 | + $this->app->bind('AdminLTE', function() { |
|
| 30 | 30 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | public function boot() |
| 38 | 38 | { |
| 39 | - $this->app->booted(function () { |
|
| 39 | + $this->app->booted(function() { |
|
| 40 | 40 | $this->defineRoutes(); |
| 41 | 41 | }); |
| 42 | 42 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | if (!$this->app->routesAreCached()) { |
| 56 | 56 | $router = app('router'); |
| 57 | 57 | |
| 58 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
| 58 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
| 59 | 59 | require __DIR__.'/../Http/routes.php'; |
| 60 | 60 | }); |
| 61 | 61 | } |
@@ -3,12 +3,12 @@ |
||
| 3 | 3 | * Same configuration as Laravel 5.2: |
| 4 | 4 | * See https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/Console/stubs/make/routes.stub |
| 5 | 5 | */ |
| 6 | -Route::group(['middleware' => 'web'], function () { |
|
| 6 | +Route::group([ 'middleware' => 'web' ], function() { |
|
| 7 | 7 | Route::auth(); |
| 8 | 8 | |
| 9 | 9 | Route::get('/home', 'HomeController@index'); |
| 10 | 10 | |
| 11 | - Route::get('/', function () { |
|
| 11 | + Route::get('/', function() { |
|
| 12 | 12 | return view('welcome'); |
| 13 | 13 | }); |
| 14 | 14 | }); |