diff --git a/app/Http/Controllers/Settings/MultiFAController.php b/app/Http/Controllers/Settings/MultiFAController.php index 0f1719a83..c6f3eff3f 100644 --- a/app/Http/Controllers/Settings/MultiFAController.php +++ b/app/Http/Controllers/Settings/MultiFAController.php @@ -88,6 +88,7 @@ class MultiFAController extends Controller */ public function disableTwoFactor(Request $request) { + // @phpstan-ignore-next-line return view('settings.security.2fa-disable'); } diff --git a/app/Models/Account/Activity.php b/app/Models/Account/Activity.php index e8f16a198..583166804 100644 --- a/app/Models/Account/Activity.php +++ b/app/Models/Account/Activity.php @@ -13,6 +13,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use App\Http\Resources\Contact\ContactShort as ContactShortResource; +/** + * @property int|null $activity_type_id + */ class Activity extends Model implements IsJournalableInterface { use Journalable; diff --git a/app/Models/Account/ActivityType.php b/app/Models/Account/ActivityType.php index d90ab1eaa..968b7be52 100644 --- a/app/Models/Account/ActivityType.php +++ b/app/Models/Account/ActivityType.php @@ -3,6 +3,7 @@ namespace App\Models\Account; use App\Models\ModelBinding as Model; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; class ActivityType extends Model @@ -33,6 +34,8 @@ class ActivityType extends Model /** * Get the activity type category record associated with the activity types. + * + * @return BelongsTo */ public function category() { @@ -41,6 +44,8 @@ class ActivityType extends Model /** * Get the activity records associated with the activity type. + * + * @return HasMany */ public function activities() { diff --git a/app/Models/Contact/LifeEvent.php b/app/Models/Contact/LifeEvent.php index cf5bb6848..29ff5f6e8 100644 --- a/app/Models/Contact/LifeEvent.php +++ b/app/Models/Contact/LifeEvent.php @@ -73,6 +73,8 @@ class LifeEvent extends Model /** * Get the life event type record associated with the life event. + * + * @return BelongsTo */ public function lifeEventType() { @@ -81,6 +83,8 @@ class LifeEvent extends Model /** * Get the reminder record associated with the life event. + * + * @return BelongsTo */ public function reminder() { diff --git a/app/Models/Contact/LifeEventType.php b/app/Models/Contact/LifeEventType.php index 4436e82bd..f7d14eb0a 100644 --- a/app/Models/Contact/LifeEventType.php +++ b/app/Models/Contact/LifeEventType.php @@ -35,6 +35,8 @@ class LifeEventType extends Model /** * Get the life event category record associated with the life event type. + * + * @return BelongsTo */ public function lifeEventCategory() { diff --git a/composer.lock b/composer.lock index 411744c6b..bde14c9f4 100644 --- a/composer.lock +++ b/composer.lock @@ -13731,16 +13731,16 @@ }, { "name": "nunomaduro/larastan", - "version": "v0.6.4", + "version": "v0.6.5", "source": { "type": "git", "url": "https://github.com/nunomaduro/larastan.git", - "reference": "a92f9e20f0aa7a62704ffb09f7445b45f1ad91f7" + "reference": "585f53d0bd094f59723e7689601c5a99d6da5ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/a92f9e20f0aa7a62704ffb09f7445b45f1ad91f7", - "reference": "a92f9e20f0aa7a62704ffb09f7445b45f1ad91f7", + "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/585f53d0bd094f59723e7689601c5a99d6da5ea1", + "reference": "585f53d0bd094f59723e7689601c5a99d6da5ea1", "shasum": "" }, "require": { @@ -13802,6 +13802,10 @@ "php", "static analysis" ], + "support": { + "issues": "https://github.com/nunomaduro/larastan/issues", + "source": "https://github.com/nunomaduro/larastan/tree/v0.6.5" + }, "funding": [ { "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", @@ -13820,7 +13824,7 @@ "type": "patreon" } ], - "time": "2020-09-02T14:19:36+00:00" + "time": "2020-10-15T12:24:50+00:00" }, { "name": "openlss/lib-array2xml", @@ -16716,5 +16720,5 @@ "ext-redis": "*" }, "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" }