Skip to content
Snippets Groups Projects

Resolve "Introduce PSR-4 autoloading"

Merged Stein Magne Bjorklund requested to merge 12-introduce-psr-4-autoloading into master
3 files
+ 3
5
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 9ac99112
    Revert 0c67dc17 - Class Endpoint.php expect parameters · 9ac99112
    Stein Magne Bjorklund authored
    We cannot just remove data from common.inc.php
    The class expect and try to use it throwing errors/warning every
    time the application load.
+ 2
2
@@ -8,7 +8,7 @@ class Endpoint
private $sparqlUrl;
private $params;
public function __construct($sparqlUrl, $params)
public function __construct($sparqlUrl, array $params)
{
$this->sparqlUrl = $sparqlUrl;
$this->params = $params;
@@ -29,7 +29,7 @@ class Endpoint
} elseif ($output == 'rdf') {
$accept = 'application/rdf+xml';
}
$aux = "";
$modified = 0;
$now = time();
$cacheFile = "";
Loading