@@ -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 | { |
@@ -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 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | /** |
| 75 | 75 | * Log the user. |
| 76 | 76 | * |
| 77 | - * @return \Illuminate\Http\RedirectReponse |
|
| 77 | + * @return \Illuminate\Http\RedirectResponse |
|
| 78 | 78 | */ |
| 79 | 79 | public function getLogout() |
| 80 | 80 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * panel.If they do no, they will be sent |
| 118 | 118 | * to the homepage of the website. |
| 119 | 119 | * |
| 120 | - * @return \Illuminate\Http\RedirectReponse |
|
| 120 | + * @return \Illuminate\Http\RedirectResponse |
|
| 121 | 121 | */ |
| 122 | 122 | protected function loginRedirect() |
| 123 | 123 | { |