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

podio-community / podio-php / 5913140406

19 Aug 2023 07:23PM UTC coverage: 59.248% (+5.8%) from 53.497%
5913140406

Pull #242

github

daniel-sc
fix linter
Pull Request #242: More fixes

181 of 181 new or added lines in 43 files covered. (100.0%)

961 of 1622 relevant lines covered (59.25%)

47.0 hits per line

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

0.0
/models/PodioNotificationGroup.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/notifications
4
 */
5
class PodioNotificationGroup extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->has_one('context', 'NotificationContext');
×
11
        $this->has_many('notifications', 'Notification');
×
12

13
        $this->init($attributes);
×
14
    }
15

16
    /**
17
     * @see https://developers.podio.com/doc/notifications/get-notification-v2-2973737
18
     */
19
    public static function get(PodioClient $podio_client, $notification_id)
20
    {
21
        return self::member($podio_client->get("/notification/{$notification_id}/v2"));
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/notifications/get-notifications-290777
26
     */
27
    public static function get_all(PodioClient $podio_client, $attributes = array())
28
    {
29
        return self::listing($podio_client->get("/notification/", $attributes));
×
30
    }
31
}
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

© 2026 Coveralls, Inc