Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -10,8 +10,15 @@
|
||||
|
||||
namespace IPS\{app}\extensions\core\Statistics;
|
||||
|
||||
use IPS\core\Statistics\Chart as ParentClass;
|
||||
use IPS\Helpers\Chart;
|
||||
use IPS\Http\Url;
|
||||
|
||||
use function defined;
|
||||
use function header;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -20,7 +27,7 @@ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
/**
|
||||
* Statistics Chart Extension
|
||||
*/
|
||||
class _{class} extends \IPS\core\Statistics\Chart
|
||||
class _{class} extends ParentClass
|
||||
{
|
||||
/**
|
||||
* @brief Controller
|
||||
@@ -33,7 +40,7 @@ class _{class} extends \IPS\core\Statistics\Chart
|
||||
* @param \IPS\Http\Url $url URL the chart is being shown on.
|
||||
* @return \IPS\Helpers\Chart
|
||||
*/
|
||||
public function getChart( \IPS\Http\Url $url ): \IPS\Helpers\Chart
|
||||
public function getChart( Url $url ): Chart
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user