diff --git a/app/Models/Poll.php b/app/Models/Poll.php index 5d8b86d26..60fa863ad 100644 --- a/app/Models/Poll.php +++ b/app/Models/Poll.php @@ -18,7 +18,7 @@ use Illuminate\Support\Carbon; * @property array|null $cached_tallies * @property int $multiple * @property int $hide_totals - * @property-read int|null $votes_count + * @property int $votes_count * @property string|null $last_fetched_at * @property Carbon|null $expires_at * @property Carbon|null $created_at diff --git a/app/Models/Status.php b/app/Models/Status.php index 6c48beafa..3d862a985 100644 --- a/app/Models/Status.php +++ b/app/Models/Status.php @@ -32,7 +32,7 @@ use Illuminate\Support\Str; * @property string $scope * @property string $visibility * @property int $reply - * @property-read int|null $likes_count + * @property int $likes_count * @property int $reblogs_count * @property string|null $language * @property int|null $conversation_id diff --git a/app/Models/StoryItem.php b/app/Models/StoryItem.php index 97e1a136b..007c373d8 100644 --- a/app/Models/StoryItem.php +++ b/app/Models/StoryItem.php @@ -3,11 +3,14 @@ namespace App\Models; use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Storage; use Pixelfed\Snowflake\HasSnowflakePrimary; /** - * @property-read Story|null $story + * @property Story|null $story + * @property string|null $type + * @property Carbon $created_at * * @method static \Illuminate\Database\Eloquent\Builder|StoryItem newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|StoryItem newQuery()