Completed
Push — master ( 169bd2...82af7c )
by PROSPER
8s
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.
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.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -32,31 +32,31 @@
 block discarded – undo
32 32
     protected $message = 'This password is just too common. Please try another!';
33 33
 
34 34
     /**
35
-    * Publishes all the config file this package needs to function
36
-    */
35
+     * Publishes all the config file this package needs to function
36
+     */
37 37
     public function boot()
38 38
     {
39 39
         $path = realpath(__DIR__.'/../resources/config/passwordlist.txt');
40 40
         $dumbPasswords = collect(explode("\n", file_get_contents($path)));
41 41
         $data = $dumbPasswords->flip();
42 42
 
43
-       Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) use ($data) {
43
+        Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) use ($data) {
44 44
             return !$data->has($value);
45
-       }, $message);
45
+        }, $message);
46 46
     }
47 47
 
48 48
     /**
49
-    * Register the application services.
50
-    */
49
+     * Register the application services.
50
+     */
51 51
     public function register()
52 52
     {
53 53
 
54 54
     }
55 55
 
56 56
     /**
57
-    * Get the services provided by the provider
58
-    * @return array
59
-    */
57
+     * Get the services provided by the provider
58
+     * @return array
59
+     */
60 60
     public function provides()
61 61
     {
62 62
         return ['laravel-password'];
Please login to merge, or discard this patch.