Completed
Push — master ( 3ad61c...e81a09 )
by Brandon
29s
created
app/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     /**
138 138
      * Returns the users role as a string.
139 139
      *
140
-     * @return Users
140
+     * @return string
141 141
      */
142 142
     public function roleString()
143 143
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@
 block discarded – undo
54 54
             'registration_password' => 'required|string|min:8',
55 55
         ]);
56 56
     
57
-        return $validator->after(function ($validator) {
57
+        return $validator->after(function($validator) {
58 58
             if (array_key_exists('registration_password', $validator->valid()))
59 59
             {
60
-                if ($validator->valid()['registration_password'] != env('REGISTRATION_CHALLENGE', 'temppass')) {
60
+                if ($validator->valid()[ 'registration_password' ] != env('REGISTRATION_CHALLENGE', 'temppass')) {
61 61
                     $validator->errors()->add('registration_password', 'Incorrect registration password.');
62 62
                 }
63 63
             }
Please login to merge, or discard this patch.