@@ -209,7 +209,6 @@ discard block |
||
209 | 209 | /** |
210 | 210 | * Process Restore ModelItem Request. |
211 | 211 | * |
212 | - * @param int $page_id |
|
213 | 212 | * |
214 | 213 | * @return \Illuminate\Http\RedirectResponse |
215 | 214 | */ |
@@ -225,7 +224,7 @@ discard block |
||
225 | 224 | * |
226 | 225 | * @param int $modelitem_id |
227 | 226 | * |
228 | - * @return \Illuminate\Http\Response |
|
227 | + * @return \Illuminate\Http\RedirectResponse |
|
229 | 228 | */ |
230 | 229 | public function getClone($modelitem_id) |
231 | 230 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @param Request $request |
53 | 53 | * |
54 | - * @return \Illuminate\Http\Response |
|
54 | + * @return \Illuminate\Http\RedirectResponse |
|
55 | 55 | */ |
56 | 56 | public function postLogin(Request $request) |
57 | 57 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Log the user. |
75 | 75 | * |
76 | - * @return \Illuminate\Http\Response |
|
76 | + * @return \Illuminate\Http\RedirectResponse |
|
77 | 77 | */ |
78 | 78 | public function getLogout() |
79 | 79 | { |
@@ -331,7 +331,7 @@ |
||
331 | 331 | * |
332 | 332 | * @param string $goBack |
333 | 333 | * |
334 | - * @return mixed |
|
334 | + * @return null|false |
|
335 | 335 | */ |
336 | 336 | protected function goBack($goBack) |
337 | 337 | { |
@@ -29,19 +29,19 @@ 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 |
40 | 40 | $sql_details = array( |
41 | - 'user' => '', |
|
42 | - 'pass' => '', |
|
43 | - 'db' => '', |
|
44 | - 'host' => '' |
|
41 | + 'user' => '', |
|
42 | + 'pass' => '', |
|
43 | + 'db' => '', |
|
44 | + 'host' => '' |
|
45 | 45 | ); |
46 | 46 | |
47 | 47 | |
@@ -53,6 +53,6 @@ discard block |
||
53 | 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 |