Passed
Pull Request — master (#14)
by ARCANEDEV
05:47
created
src/Authorization/Views/Components/PasswordResetsDatatable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function render(PasswordResetsRepository $repo)
60 60
     {
61
-        return view('foundation::authorization.password-resets._datatables.index',[
61
+        return view('foundation::authorization.password-resets._datatables.index', [
62 62
             'passwordResets' => $this->getResults($repo),
63 63
             'fields'         => $this->getFields(),
64 64
         ]);
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
     private function getResults(PasswordResetsRepository $repo): LengthAwarePaginator
75 75
     {
76 76
         return $repo
77
-            ->unless(empty($this->search), function (Builder $query) {
77
+            ->unless(empty($this->search), function(Builder $query) {
78 78
                 $query->Where('email', 'like', '%'.$this->search.'%');
79 79
             })
80
-            ->unless(empty($this->sortField), function (Builder $query) {
80
+            ->unless(empty($this->sortField), function(Builder $query) {
81 81
                 $query->orderBy($this->sortField, $this->getSortDirection());
82 82
             })
83 83
             ->paginate($this->perPage);
Please login to merge, or discard this patch.
src/Authorization/Views/Components/RolesDatatable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@
 block discarded – undo
75 75
     {
76 76
         return $repo
77 77
             ->withCount(['administrators'])
78
-            ->unless(empty($this->search), function (Builder $query) {
78
+            ->unless(empty($this->search), function(Builder $query) {
79 79
                 $query->where('name', 'like', '%'.$this->search.'%');
80 80
             })
81
-            ->unless(empty($this->sortField), function (Builder $query) {
81
+            ->unless(empty($this->sortField), function(Builder $query) {
82 82
                 $query->orderBy($this->sortField, $this->getSortDirection());
83 83
             })
84 84
             ->paginate($this->perPage);
Please login to merge, or discard this patch.
src/Fortify/Concerns/HasPasswordBroker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     protected static function broker(): PasswordBroker
27 27
     {
28
-        return with(app('auth.password'), function (PasswordBrokerFactory $manager) {
28
+        return with(app('auth.password'), function(PasswordBrokerFactory $manager) {
29 29
             return $manager->broker(static::getBrokerDriver());
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
src/Fortify/Auth/AuthenticatesUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         return (new Pipeline(app()))
42 42
             ->send($request)
43 43
             ->through($actions)
44
-            ->then(function ($request) {
44
+            ->then(function($request) {
45 45
                 return $this->getLoginResponse($request);
46 46
             });
47 47
     }
Please login to merge, or discard this patch.
src/Fortify/Auth/ResetsPasswords.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     protected function resetPassword(Request $request, array $credentials)
42 42
     {
43
-        $status = $this->broker()->reset($credentials, function ($user, $password) use ($request) {
43
+        $status = $this->broker()->reset($credentials, function($user, $password) use ($request) {
44 44
             $this->updatePassword($user, $password);
45 45
 
46 46
             event(new PasswordReset($user));
Please login to merge, or discard this patch.
src/Console/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 
96 96
         $installed = [];
97 97
 
98
-        $this->progressBar($modules, function ($command, $module) use (&$installed) {
98
+        $this->progressBar($modules, function($command, $module) use (&$installed) {
99 99
             $this->callSilent($command);
100 100
             $installed[] = $module;
101 101
         });
Please login to merge, or discard this patch.
src/ModuleManifest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
     public function pluck(string $key): array
45 45
     {
46 46
         return Collection::make($this->modules())
47
-            ->filter(function ($module) use ($key) {
47
+            ->filter(function($module) use ($key) {
48 48
                 return isset($module[$key]);
49 49
             })
50
-            ->mapWithKeys(function ($module, $name) use ($key) {
50
+            ->mapWithKeys(function($module, $name) use ($key) {
51 51
                 return [$name => $module[$key]];
52 52
             })
53 53
             ->toArray();
@@ -71,13 +71,13 @@  discard block
 block discarded – undo
71 71
 
72 72
         $this->write(
73 73
             Collection::make($packages)
74
-                ->mapWithKeys(function ($package) {
74
+                ->mapWithKeys(function($package) {
75 75
                     return [$this->format($package['name']) => $package['extra']['arcanesoft'] ?? []];
76 76
                 })
77
-                ->each(function ($configuration) use (&$ignore) {
77
+                ->each(function($configuration) use (&$ignore) {
78 78
                     $ignore = array_merge($ignore, $configuration['dont-discover'] ?? []);
79 79
                 })
80
-                ->reject(function ($configuration, $package) use ($ignore, $ignoreAll) {
80
+                ->reject(function($configuration, $package) use ($ignore, $ignoreAll) {
81 81
                     return $ignoreAll || in_array($package, $ignore);
82 82
                 })
83 83
                 ->filter()
Please login to merge, or discard this patch.