Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nickysemenza committed Nov 2, 2017
1 parent a7ce21d commit c764fb8
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 106 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ public function submitApplicationForm(Request $request)
}

$validator = \Validator::make($request->all(), [
'firstname' => 'required',
'lastname' => 'required',
'email' => 'required|email|unique:applicants,email',
'firstname' => 'required',
'lastname' => 'required',
'email' => 'required|email|unique:applicants,email',
]);
$errors = [];
$questions = Question::all();
Expand Down
8 changes: 4 additions & 4 deletions app/Models/Applicant.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public function ratingInfo()

return
[
'count'=> $count,
'min' => $min,
'max' => $max,
'count' => $count,
'min' => $min,
'max' => $max,
// "ratings"=>$ratings,
'average'=> $avg,
'average' => $avg,
];
}

Expand Down
16 changes: 8 additions & 8 deletions config/datatables.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
/*
* DataTables search options.
*/
'search' => [
'search' => [
/*
* Smart search will enclose search keyword with wildcard string "%keyword%".
* SQL: column LIKE "%keyword%"
*/
'smart' => true,
'smart' => true,

/*
* Case insensitive will search the keyword in lower case format.
Expand All @@ -21,22 +21,22 @@
* Wild card will add "%" in between every characters of the keyword.
* SQL: column LIKE "%k%e%y%w%o%r%d%"
*/
'use_wildcards' => false,
'use_wildcards' => false,
],

/*
* DataTables internal index id response column name.
*/
'index_column' => 'DT_Row_Index',
'index_column' => 'DT_Row_Index',

/*
* DataTables fractal configurations.
*/
'fractal' => [
'fractal' => [
/*
* Request key name to parse includes on fractal.
*/
'includes' => 'include',
'includes' => 'include',

/*
* Default fractal serializer.
Expand All @@ -48,7 +48,7 @@
* Datatables list of available engines.
* This is where you can register your custom datatables engine.
*/
'engines' => [
'engines' => [
'eloquent' => Yajra\Datatables\Engines\EloquentEngine::class,
'query' => Yajra\Datatables\Engines\QueryBuilderEngine::class,
'collection' => Yajra\Datatables\Engines\CollectionEngine::class,
Expand All @@ -57,7 +57,7 @@
/*
* Datatables accepted builder to engine mapping.
*/
'builders' => [
'builders' => [
Illuminate\Database\Eloquent\Relations\Relation::class => 'eloquent',
Illuminate\Database\Eloquent\Builder::class => 'eloquent',
Illuminate\Database\Query\Builder::class => 'query',
Expand Down
Loading

0 comments on commit c764fb8

Please sign in to comment.