mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Remove phpstan comments.
This commit is contained in:
@@ -180,7 +180,7 @@ class FireflyServiceProvider extends ServiceProvider
|
||||
static function (Application $app) {
|
||||
/** @var ObjectGroupRepository $repository */
|
||||
$repository = app(ObjectGroupRepository::class);
|
||||
if ($app->auth->check()) { // @phpstan-ignore-line
|
||||
if ($app->auth->check()) {
|
||||
$repository->setUser(auth()->user());
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ class FireflyServiceProvider extends ServiceProvider
|
||||
static function (Application $app) {
|
||||
/** @var WebhookRepository $repository */
|
||||
$repository = app(WebhookRepository::class);
|
||||
if ($app->auth->check()) { // @phpstan-ignore-line
|
||||
if ($app->auth->check()) {
|
||||
$repository->setUser(auth()->user());
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ class FireflyServiceProvider extends ServiceProvider
|
||||
static function (Application $app) {
|
||||
/** @var SearchRuleEngine $engine */
|
||||
$engine = app(SearchRuleEngine::class);
|
||||
if ($app->auth->check()) { // @phpstan-ignore-line
|
||||
if ($app->auth->check()) {
|
||||
$engine->setUser(auth()->user());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user