Completed
Branch master (b264eb)
by PROSPER
02:57
created
src/DumbPasswordServiceProvider.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     /**
50 50
     * Get the services provided by the provider
51
-    * @return array
51
+    * @return string[]
52 52
     */
53 53
     public function provides()
54 54
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,31 +25,31 @@
 block discarded – undo
25 25
     protected $defer = false;
26 26
 
27 27
     /**
28
-    * Publishes all the config file this package needs to function
29
-    */
28
+     * Publishes all the config file this package needs to function
29
+     */
30 30
     public function boot()
31 31
     {
32 32
         $path = realpath(__DIR__.'/../resources/config/passwordlist.txt');
33 33
         $dumbPasswords = collect(explode("\n", file_get_contents($path)));
34 34
         $data = $dumbPasswords->flip();
35 35
 
36
-       Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) use ($data) {
36
+        Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) use ($data) {
37 37
             return !$data->has($value);
38
-       }, 'This password is just too common. Please try another!');
38
+        }, 'This password is just too common. Please try another!');
39 39
     }
40 40
 
41 41
     /**
42
-    * Register the application services.
43
-    */
42
+     * Register the application services.
43
+     */
44 44
     public function register()
45 45
     {
46 46
 
47 47
     }
48 48
 
49 49
     /**
50
-    * Get the services provided by the provider
51
-    * @return array
52
-    */
50
+     * Get the services provided by the provider
51
+     * @return array
52
+     */
53 53
     public function provides()
54 54
     {
55 55
         return ['laravel-password'];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
     */
53 53
     public function provides()
54 54
     {
55
-        return ['laravel-password'];
55
+        return [ 'laravel-password' ];
56 56
     }
57 57
 }
Please login to merge, or discard this patch.