Skip to content

Commit

Permalink
Merge branch 'main' of github.com:NativePHP/laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Aug 3, 2023
2 parents 8d0ca9d + ac3decf commit f3d8e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions routes/api.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

use Illuminate\Support\Facades\Route;
use App\Http\Middleware\VerifyCsrfToken;
use Native\Laravel\Http\Controllers\NativeAppBootedController;
use Native\Laravel\Http\Middleware\PreventRegularBrowserAccess;
use Illuminate\Support\Facades\Route;
use Native\Laravel\Http\Controllers\CreateSecurityCookieController;
use Native\Laravel\Http\Controllers\DispatchEventFromAppController;
use Native\Laravel\Http\Controllers\NativeAppBootedController;
use Native\Laravel\Http\Middleware\PreventRegularBrowserAccess;

Route::group(['middleware' => PreventRegularBrowserAccess::class], function () {
Route::post('_native/api/booted', NativeAppBootedController::class);
Expand Down
2 changes: 1 addition & 1 deletion src/Dialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function open()
{
$result = $this->client->post('dialog/open', $this->dialogData())->json('result');

if (!in_array('multiSelections', $this->properties)) {
if (! in_array('multiSelections', $this->properties)) {
return $result[0] ?? null;
}

Expand Down

0 comments on commit f3d8e3d

Please sign in to comment.