@@ -130,7 +130,7 @@ |
||
| 130 | 130 | * @param string $platform |
| 131 | 131 | * @param string $setting |
| 132 | 132 | * |
| 133 | - * @return BaseAdapter |
|
| 133 | + * @return \Sly\NotificationPusher\Adapter\AdapterInterface |
|
| 134 | 134 | */ |
| 135 | 135 | public function getAdapter($platform, $setting) |
| 136 | 136 | { |
@@ -85,8 +85,7 @@ |
||
| 85 | 85 | 'label' => Craft::t('All notifications'), |
| 86 | 86 | ), |
| 87 | 87 | ); |
| 88 | - } |
|
| 89 | - else { |
|
| 88 | + } else { |
|
| 90 | 89 | // only display the notifications for the apps that the user has access to |
| 91 | 90 | |
| 92 | 91 | // get list of app ids that the user has access to |