We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28e648 commit d96edd7Copy full SHA for d96edd7
src/RestrictedServiceProvider.php
@@ -15,7 +15,7 @@
15
16
class RestrictedServiceProvider extends ServiceProvider
17
{
18
- protected $message = 'That :attribute is taken. Please try another!';
+ protected $message = 'That :attribute is not available. Please try another!';
19
protected $fileName;
20
21
/**
@@ -70,7 +70,7 @@ public function getRestrictedUsernames()
70
$path = $this->fileName;
71
if(file_exists($path)){
72
$content = file_get_contents($path);
73
- return collect(explode("\r\n", $content))
+ return collect(explode(PHP_EOL, $content))
74
->map(function($value){
75
return preg_replace("/\s/", "", $value);
76
});
0 commit comments