src/NotificationType.php 1 location
|
@@ 48-53 (lines=6) @@
|
45 |
|
|
46 |
|
$name = array_shift($parts); |
47 |
|
|
48 |
|
if ('device' === $name) { |
49 |
|
return $instance |
50 |
|
->setDevice(true) |
51 |
|
->setType(array_shift($parts)) |
52 |
|
->setVersion((int)array_shift($parts)); |
53 |
|
} |
54 |
|
|
55 |
|
if ('service' === $name) { |
56 |
|
return $instance |
src/UniqueServiceName.php 1 location
|
@@ 54-59 (lines=6) @@
|
51 |
|
|
52 |
|
$name = array_shift($parts); |
53 |
|
|
54 |
|
if ('device' === $name) { |
55 |
|
return $instance |
56 |
|
->setDevice(true) |
57 |
|
->setType(array_shift($parts)) |
58 |
|
->setVersion((int)array_shift($parts)); |
59 |
|
} |
60 |
|
|
61 |
|
if ('service' === $name) { |
62 |
|
return $instance |