• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

miaoxing / user / 3816950136

pending completion
3816950136

push

github

twinh
refactor: `wei()->user()` 改为 `UserModel`

21 of 47 branches covered (44.68%)

0 of 1 new or added line in 1 file covered. (0.0%)

80 of 647 relevant lines covered (12.36%)

1.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Model/BelongsToUserTrait.php
1
<?php
2

3
namespace Miaoxing\User\Model;
4

5
use Miaoxing\Plugin\Service\User;
6
use Miaoxing\User\Service\UserModel;
7

8
/**
9
 * @property User $user
10
 */
11
trait BelongsToUserTrait
12
{
13
    public function user()
14
    {
NEW
15
        return $this->belongsTo(UserModel::class);
×
16
    }
17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc