Skip to content

Commit

Permalink
chore: add laravel framework identifier for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Oct 16, 2024
1 parent 03aa027 commit 0d6d80e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Scalar.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public static function configuration()
'none' :
config('scalar.configuration.theme');

/** Add Laravel integration identifier */
$configuration['_integration'] = isset($configuration['_integration']) ? $configuration['_integration'] : 'laravel';

/** Render as JSON */
return collect($configuration)->merge([
'theme' => $theme,
Expand Down

0 comments on commit 0d6d80e

Please sign in to comment.