@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Make the payment request. |
| 5 | 5 | */ |
| 6 | -Route::group(['middleware' => 'web', 'namespace' => 'Tzsk\Payu\Controllers'], function () { |
|
| 6 | +Route::group(['middleware' => 'web', 'namespace' => 'Tzsk\Payu\Controllers'], function() { |
|
| 7 | 7 | Route::get('tzsk/payment', 'PaymentController@index'); |
| 8 | 8 | }); |
| 9 | 9 | |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('payu_payments', function (Blueprint $table) { |
|
| 16 | + Schema::create('payu_payments', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->unsignedInteger('payable_id')->default(0); |
| 19 | 19 | $table->string('payable_type')->nullable(); |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | |
| 64 | 64 | Cache::put('tzsk_payment', $payment, 5); |
| 65 | 65 | |
| 66 | - return redirect()->to($request->callback);//->with('tzsk_payment', $payment); |
|
| 66 | + return redirect()->to($request->callback); //->with('tzsk_payment', $payment); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Load routes for payment. |
| 33 | 33 | */ |
| 34 | - if (! $this->app->routesAreCached()) { |
|
| 34 | + if (!$this->app->routesAreCached()) { |
|
| 35 | 35 | require __DIR__.'/../Routes/routes.php'; |
| 36 | 36 | } |
| 37 | 37 | |