Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+5 -5
View File
@@ -13,21 +13,21 @@ namespace IPS\Notification;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* API Notification Model
*/
class _Api extends \IPS\Notification\Inline
class Api extends Inline
{
/**
* Get sent time
*
* @return int
*/
public function get_sent()
public function get_sent(): int
{
return $this->_data['sent_time'];
}
@@ -37,7 +37,7 @@ class _Api extends \IPS\Notification\Inline
*
* @return int
*/
public function get_updated()
public function get_updated(): int
{
return $this->_data['updated_time'];
}
@@ -47,7 +47,7 @@ class _Api extends \IPS\Notification\Inline
*
* @return string
*/
public function get_app()
public function get_app(): string
{
return $this->_data['notification_app'];
}