refactoring files fix

This commit is contained in:
2023-12-29 12:20:14 +03:00
parent ca28e66f72
commit a93719a99a
52 changed files with 121 additions and 32 deletions

View File

@@ -31,6 +31,7 @@ use Spatie\Sluggable\SlugOptions;
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string $slug
*
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $author
* @property-read int|null $author_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\PlanComment> $comments
@@ -39,6 +40,7 @@ use Spatie\Sluggable\SlugOptions;
* @property-read int|null $likes_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \CyrildeWit\EloquentViewable\View> $views
* @property-read int|null $views_count
*
* @method static \Database\Factories\PlanFactory factory($count = null, $state = [])
* @method static Builder|Plan negativeComments()
* @method static Builder|Plan newModelQuery()
@@ -62,6 +64,7 @@ use Spatie\Sluggable\SlugOptions;
* @method static Builder|Plan whereType($value)
* @method static Builder|Plan whereUpdatedAt($value)
* @method static Builder|Plan withViewsCount(?\CyrildeWit\EloquentViewable\Support\Period $period = null, ?string $collection = null, bool $unique = false, string $as = 'views_count')
*
* @mixin \Eloquent
*/
class Plan extends Model implements Viewable