🍺 Laravel Pint ran

- Moved the import statement for `Champion` and `ChampionSkin` models in their respective controllers to improve code organization.
- Refactored image attribute methods in the `Champion` model to use string interpolation for better readability.
- Refactored image attribute methods in the `ChampionSkin` model to use string interpolation for better readability.

This commit improves code organization and readability by refactoring import statements and using string interpolation for image attribute methods.
This commit is contained in:
Rico van Zelst
2023-10-27 01:23:39 +02:00
parent 3ee7112641
commit bb771faf25
13 changed files with 27 additions and 37 deletions

View File

@@ -17,7 +17,6 @@ return [
*
* Defaults to null, which uses the toString() method on your model.
*/
'source' => null,
/**
@@ -25,7 +24,6 @@ return [
* no length restrictions are enforced. Set it to a positive integer if you
* want to make sure your slugs aren't too long.
*/
'maxLength' => null,
/**
@@ -40,7 +38,6 @@ return [
*
* "my source string" -> "my-source-st"
*/
'maxLengthKeepWords' => true,
/**
@@ -58,13 +55,11 @@ return [
*
* 'method' => array('Str','slug'),
*/
'method' => null,
/**
* Separator to use when generating slugs. Defaults to a hyphen.
*/
'separator' => '-',
/**
@@ -76,7 +71,6 @@ return [
* my-slug-1
* my-slug-2
*/
'unique' => true,
/**
@@ -87,7 +81,6 @@ return [
* "similar" slugs. The closure should return the new unique
* suffix to append to the slug.
*/
'uniqueSuffix' => null,
/**
@@ -107,7 +100,6 @@ return [
* If set to "false", then a new slug could duplicate one that exists on a trashed model.
* If set to "true", then uniqueness is enforced across trashed and existing models.
*/
'includeTrashed' => false,
/**
@@ -133,7 +125,6 @@ return [
*
* and continue from there.
*/
'reserved' => null,
/**
@@ -146,7 +137,6 @@ return [
* is probably not a good idea from an SEO point of view.
* Only set this to true if you understand the possible consequences.
*/
'onUpdate' => false,
/**