Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 2, 2024
1 parent 1349844 commit 165af28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@

return [
(new Extend\Frontend('forum'))
->js(__DIR__ . '/js/dist/forum.js')
->css(__DIR__ . '/resources/less/forum.less'),
->js(__DIR__.'/js/dist/forum.js')
->css(__DIR__.'/resources/less/forum.less'),

(new Extend\Frontend('admin'))
->js(__DIR__ . '/js/dist/admin.js')
->css(__DIR__ . '/resources/less/admin.less')
->js(__DIR__.'/js/dist/admin.js')
->css(__DIR__.'/resources/less/admin.less')
->content(function (Document $document) {
$document->payload['fof-oauth'] = resolve('fof-oauth.providers.admin');
}),

new Extend\Locales(__DIR__ . '/resources/locale'),
new Extend\Locales(__DIR__.'/resources/locale'),

(new Extend\Middleware('forum'))
->add(Middleware\ErrorHandler::class)
Expand Down Expand Up @@ -82,7 +82,7 @@
->addGambit(Query\SsoIdFilterGambit::class),

(new Extend\Conditional())
->whenExtensionEnabled('flarum-gdpr', fn() => [
->whenExtensionEnabled('flarum-gdpr', fn () => [

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85

Check failure on line 85 in extend.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Syntax error, unexpected T_DOUBLE_ARROW, expecting ')' on line 85
(new Extend\ApiSerializer(ForumSerializer::class))
->attribute('passwordlessSignUp', function (ForumSerializer $serializer) {
return !$serializer->getActor()->isGuest() && $serializer->getActor()->loginProviders()->count() > 0;
Expand Down

0 comments on commit 165af28

Please sign in to comment.