@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * |
| 56 | 56 | * @param Request $request |
| 57 | 57 | * |
| 58 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
| 58 | + * @return \Illuminate\Http\RedirectResponse |
|
| 59 | 59 | */ |
| 60 | 60 | public function authentication(Request $request) |
| 61 | 61 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * |
| 98 | 98 | * @param \Illuminate\Http\Request $request |
| 99 | 99 | * |
| 100 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
| 100 | + * @return \Illuminate\Http\RedirectResponse |
|
| 101 | 101 | */ |
| 102 | 102 | public function registration(Request $request) |
| 103 | 103 | { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * |
| 167 | 167 | * @param \Illuminate\Http\Request $request |
| 168 | 168 | * |
| 169 | - * @return $this |
|
| 169 | + * @return \Illuminate\Http\RedirectResponse |
|
| 170 | 170 | */ |
| 171 | 171 | public function activation(Request $request) |
| 172 | 172 | { |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | /** |
| 84 | 84 | * Parses a view, using the package view namespace |
| 85 | 85 | * |
| 86 | - * @param $view |
|
| 86 | + * @param string $view |
|
| 87 | 87 | * @param array $data |
| 88 | 88 | * |
| 89 | 89 | * @return \Illuminate\View\View |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Display a listing of the resource. |
| 24 | 24 | * |
| 25 | - * @return Response |
|
| 25 | + * @return \Illuminate\View\View |
|
| 26 | 26 | */ |
| 27 | 27 | public function index() |
| 28 | 28 | { |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Create a new resource. |
| 37 | 37 | * |
| 38 | - * @return Response |
|
| 38 | + * @return \Illuminate\View\View |
|
| 39 | 39 | */ |
| 40 | 40 | public function create() |
| 41 | 41 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @param Request $request |
| 53 | 53 | * |
| 54 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
| 54 | + * @return \Illuminate\Http\RedirectResponse |
|
| 55 | 55 | */ |
| 56 | 56 | public function store(Request $request) |
| 57 | 57 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * @param \Illuminate\Http\Request $request |
| 110 | 110 | * @param int $id |
| 111 | 111 | * |
| 112 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
| 112 | + * @return \Illuminate\Http\RedirectResponse |
|
| 113 | 113 | */ |
| 114 | 114 | public function update(Request $request, $id) |
| 115 | 115 | { |
@@ -44,6 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * {@inheritDoc} |
| 47 | + * @param integer $id |
|
| 47 | 48 | */ |
| 48 | 49 | public function getById($id) |
| 49 | 50 | { |
@@ -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 | |
@@ -191,22 +191,22 @@ |
||
| 191 | 191 | protected function setupConsoleCommands() |
| 192 | 192 | { |
| 193 | 193 | // Share dashboard:install command with the application. |
| 194 | - $this->app['dashboard::install'] = $this->app->share(function () { |
|
| 194 | + $this->app['dashboard::install'] = $this->app->share(function() { |
|
| 195 | 195 | return new InstallerCommand(); |
| 196 | 196 | }); |
| 197 | 197 | |
| 198 | 198 | // Share dashboard:setup command with the application. |
| 199 | - $this->app['dashboard::setup'] = $this->app->share(function () { |
|
| 199 | + $this->app['dashboard::setup'] = $this->app->share(function() { |
|
| 200 | 200 | return new SetupCommand(); |
| 201 | 201 | }); |
| 202 | 202 | |
| 203 | 203 | // Share dashboard:fresh command with the application. |
| 204 | - $this->app['dashboard::fresh'] = $this->app->share(function () { |
|
| 204 | + $this->app['dashboard::fresh'] = $this->app->share(function() { |
|
| 205 | 205 | return new FreshCommand(); |
| 206 | 206 | }); |
| 207 | 207 | |
| 208 | 208 | // Share dashboard:uninstall command with the application. |
| 209 | - $this->app['dashboard::uninstall'] = $this->app->share(function () { |
|
| 209 | + $this->app['dashboard::uninstall'] = $this->app->share(function() { |
|
| 210 | 210 | return new UninstallCommand(); |
| 211 | 211 | }); |
| 212 | 212 | |