Completed
Push — master ( cf2713...aee5ae )
by Sherif
02:07
created

PushNotificationDeviceRepository::generateMessageData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 9.7333
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php namespace App\Modules\PushNotificationDevices\Repositories;
2
3
use App\Modules\Core\BaseClasses\BaseRepository;
4
use LaravelFCM\Message\OptionsBuilder;
5
use LaravelFCM\Message\PayloadDataBuilder;
6
use LaravelFCM\Message\PayloadNotificationBuilder;
7
use App\Modules\PushNotificationDevices\PushNotificationDevice;
8
9
class PushNotificationDeviceRepository extends BaseRepository
10
{
11
    /**
12
     * Init new object.
13
     *
14
     * @param   PushNotificationDevice $model
15
     * @return  void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
16
     */
17
    public function __construct(PushNotificationDevice $model)
18
    {
19
        parent::__construct($model);
20
    }
21
}
22