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

miaoxing / user / 5613230648

pending completion
5613230648

push

github

twinh
feat(user): 废弃 `BelongsToUserModelTrait`

21 of 78 branches covered (26.92%)

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

107 of 701 relevant lines covered (15.26%)

1.54 hits per line

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

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

3
namespace Miaoxing\User\Model;
4

5
use Miaoxing\User\Service\UserModel;
6

7
/**
8
 * @property UserModel $user
9
 * @deprecated Use BelongsToUserTrait
10
 */
11
trait BelongsToUserModelTrait
12
{
13
    /**
14
     * @return UserModel
15
     * @Relation
16
     */
17
    public function user()
18
    {
NEW
19
        return $this->belongsTo(UserModel::class);
×
20
    }
21
}
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