Completed
Pull Request — master (#91)
by Mahmoud
05:39
created

Country::reward()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Containers\Country\Models;
4
5
use App\Containers\User\Models\User;
6
use Webpatser\Countries\Countries;
7
8
/**
9
 * Class Country.
10
 *
11
 * @author Mahmoud Zalt <[email protected]>
12
 */
13
class Country extends Countries
14
{
15
16
    public function users()
17
    {
18
        return $this->hasMany(User::class);
19
    }
20
21
}
22