Passed
Pull Request — master (#14)
by ARCANEDEV
04:40
created
src/Authentication/Http/Routes/PasswordResetRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $this->prefix('password')
38 38
              ->name('password.')
39 39
              ->middleware(['guest'])
40
-             ->group(function () {
40
+             ->group(function() {
41 41
                  // admin::auth.password.request
42 42
                  $this->get('forgotten', [PasswordResetLinkController::class, 'create'])
43 43
                       ->name('request');
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/LoginRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function mapLoginRoutes(): void
52 52
     {
53
-        $this->prefix('login')->name('login.')->middleware(['guest'])->group(function () {
53
+        $this->prefix('login')->name('login.')->middleware(['guest'])->group(function() {
54 54
             // admin::auth.login.create
55 55
             $this->get('/', [LoginController::class, 'create'])
56 56
                  ->name('create');
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         if ( ! Auth::isTwoFactorEnabled())
71 71
             return;
72 72
 
73
-        $this->prefix('two-factor-challenge')->name('two-factor.')->group(function () {
73
+        $this->prefix('two-factor-challenge')->name('two-factor.')->group(function() {
74 74
             // admin::auth.login.two-factor.create
75 75
             $this->get('/', [TwoFactorLoginController::class, 'create'])
76 76
                 ->name('create');
Please login to merge, or discard this patch.
src/Authentication/Http/Routes/AuthenticationRoutes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
      */
24 24
     public function map(): void
25 25
     {
26
-        $this->adminGroup(function () {
27
-            $this->prefix('auth')->name('auth.')->group(function () {
26
+        $this->adminGroup(function() {
27
+            $this->prefix('auth')->name('auth.')->group(function() {
28 28
                 static::mapRouteClasses([
29 29
                     ConfirmPasswordRoutes::class,
30 30
                     LoginRoutes::class,
Please login to merge, or discard this patch.
src/Views/Contracts/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param  string|array  $name
27 27
      * @param  string|null   $component
28 28
      */
29
-    public function register($name, string $component= null): void;
29
+    public function register($name, string $component = null): void;
30 30
 
31 31
     /**
32 32
      * Check if a component is registered.
Please login to merge, or discard this patch.
src/Views/Concerns/WithPagination.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
         $this->page = $this->resolvePage();
42 42
 
43
-        Paginator::currentPageResolver(function () {
43
+        Paginator::currentPageResolver(function() {
44 44
             return $this->page;
45 45
         });
46 46
 
Please login to merge, or discard this patch.
src/Views/Concerns/WithSortField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function sortBy(string $field): void
37 37
     {
38
-        $this->sortAsc   = $this->sortField === $field ? (! $this->sortAsc) : true;
38
+        $this->sortAsc   = $this->sortField === $field ? ( ! $this->sortAsc) : true;
39 39
         $this->sortField = $field;
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/Views/Concerns/InteractsWithProperties.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@
 block discarded – undo
56 56
             $reflection = new ReflectionClass($this);
57 57
 
58 58
             static::$propertyCache[$class] = Collection::make($reflection->getProperties(ReflectionProperty::IS_PUBLIC))
59
-                ->reject(function (ReflectionProperty $property) {
59
+                ->reject(function(ReflectionProperty $property) {
60 60
                     return $this->shouldIgnore($property->getName());
61 61
                 })
62
-                ->map(function (ReflectionProperty $property) {
62
+                ->map(function(ReflectionProperty $property) {
63 63
                     return $property->getName();
64 64
                 })
65 65
                 ->all();
Please login to merge, or discard this patch.
src/Views/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param  string|array  $name
53 53
      * @param  string|null   $component
54 54
      */
55
-    public function register($name, string $component= null): void
55
+    public function register($name, string $component = null): void
56 56
     {
57 57
         if (is_array($name)) {
58 58
             foreach ($name as $key => $class) {
Please login to merge, or discard this patch.
src/FoundationServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,11 +105,11 @@
 block discarded – undo
105 105
      */
106 106
     protected function registerModuleManifest(): void
107 107
     {
108
-        $this->singleton(PackageManifest::class, function (Application $app) {
108
+        $this->singleton(PackageManifest::class, function(Application $app) {
109 109
             return new PackageManifest(new Filesystem, $app->basePath());
110 110
         });
111 111
 
112
-        $this->singleton(ModuleManifest::class, function (Application $app) {
112
+        $this->singleton(ModuleManifest::class, function(Application $app) {
113 113
             return new ModuleManifest(
114 114
                 new Filesystem, $app->basePath(), $app->bootstrapPath(Arcanesoft::ARCANESOFT_MODULES_CACHE)
115 115
             );
Please login to merge, or discard this patch.