Skip to content

Commit 2630036

Browse files
mpstensongithub-actions[bot]
authored andcommitted
Fix styling
1 parent 9ea7a0e commit 2630036

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/AdvStr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AdvStr
2121
*/
2222
public static function advPassword($length = 32, $letters = true, $numbers = true, $symbols = true, $spaces = false, $upperLetters = false, $lowerLetters = false, $exclude = [])
2323
{
24-
$password = new Collection();
24+
$password = new Collection;
2525

2626
// $letters enables both upper case and lower case letters to create a mixed case password
2727
if ($letters === true) {

src/AdvStrServiceProvider.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function boot()
1515
Str::macro($methodName, function () use ($methodName) {
1616
$args = func_get_args();
1717

18-
return (new AdvStr())->$methodName(...$args);
18+
return (new AdvStr)->$methodName(...$args);
1919
});
2020
}
2121
}
@@ -33,10 +33,10 @@ public function configurePackage(Package $package): void
3333
->hasConfigFile('advanced-string');
3434
}
3535

36-
function registeringPackage()
36+
public function registeringPackage()
3737
{
38-
$this->publishes([
39-
__DIR__.'/../config/advanced-string.php' => config_path('advanced-string.php'),
40-
], 'laravel-advanced-string-config');
38+
$this->publishes([
39+
__DIR__.'/../config/advanced-string.php' => config_path('advanced-string.php'),
40+
], 'laravel-advanced-string-config');
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)