Changeset View
Changeset View
Standalone View
Standalone View
src/app/Providers/AppServiceProvider.php
Show All 12 Lines | |||||
{ | { | ||||
/** | /** | ||||
* Register any application services. | * Register any application services. | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function register() | public function register() | ||||
{ | { | ||||
Passport::ignoreMigrations(); | Passport::ignoreMigrations(); | ||||
mollekopf: Maybe this should go to the PassportServiceProvider? | |||||
Passport::ignoreRoutes(); | |||||
} | } | ||||
/** | /** | ||||
* Serialize a bindings array to a string. | * Serialize a bindings array to a string. | ||||
*/ | */ | ||||
private static function serializeSQLBindings(array $array, string $sql): string | private static function serializeSQLBindings(array $array, string $sql): string | ||||
{ | { | ||||
$ipv = preg_match('/ip([46])nets/', $sql, $m) ? $m[1] : null; | $ipv = preg_match('/ip([46])nets/', $sql, $m) ? $m[1] : null; | ||||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |
Maybe this should go to the PassportServiceProvider?