Completed
Pull Request — master (#165)
by Cristian
05:30 queued 02:26
created
src/helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
      * Appends the configured backpack prefix and returns
6 6
      * the URL using the standard Laravel helpers.
7 7
      *
8
-     * @param $path
8
+     * @param string $path
9 9
      *
10 10
      * @return string
11 11
      */
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Backpack\Base;
4 4
 
5 5
 use Illuminate\Routing\Router;
6
-use Illuminate\Support\Facades\View;
7 6
 use Illuminate\Support\ServiceProvider;
8 7
 use Route;
9 8
 
Please login to merge, or discard this patch.
src/app/Http/Requests/ChangePasswordRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function withValidator($validator)
44 44
     {
45
-        $validator->after(function ($validator) {
45
+        $validator->after(function($validator) {
46 46
             // check old password matches
47 47
             if (!Hash::check($this->input('old_password'), backpack_auth()->user()->password)) {
48 48
                 $validator->errors()->add('old_password', trans('backpack::base.old_password_incorrect'));
Please login to merge, or discard this patch.