Commit 2b7f3b34 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Type Deklarationen für String entfernt, da dies in anderen php Versionen Fehler verursacht hat

parent e060ccae
......@@ -12,7 +12,7 @@ class Opencrawlregengergie extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
try {
$content = simplexml_load_string($result);
......
......@@ -12,7 +12,7 @@ class Opencrawltauchen extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
try {
$content = simplexml_load_string($result);
......
......@@ -13,7 +13,7 @@ class Overture extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$result = preg_replace("/\r\n/si", "", $result);
try {
......
......@@ -12,7 +12,7 @@ class OvertureAds extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$result = preg_replace("/\r\n/si", "", $result);
try {
......
......@@ -12,7 +12,7 @@ class Qip extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
die($result);
$results = trim($result);
......
......@@ -12,7 +12,7 @@ class Qualigo extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $results)
public function loadResults ($results)
{
try {
$content = simplexml_load_string($results);
......
......@@ -12,7 +12,7 @@ class Similar_product extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$results = json_decode($result);
......
......@@ -18,7 +18,7 @@ class Similar_product_ads extends Searchengine
}
}
public function loadResults (String $results)
public function loadResults ($results)
{
$results = json_decode($result);
......
......@@ -12,7 +12,7 @@ class Suchticker extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$results = trim($result);
......
......@@ -12,7 +12,7 @@ class Tuhh extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
try {
$content = simplexml_load_string($result);
......
......@@ -12,7 +12,7 @@ class Wikipedia extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$result = utf8_decode($result);
$counter = 0;
......
......@@ -12,7 +12,7 @@ class Witch extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$result = html_entity_decode(trim(utf8_encode($result)));
......
......@@ -12,7 +12,7 @@ class Yacy extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
# die($result);
......
......@@ -12,7 +12,7 @@ class Yacyunih extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
try {
$content = simplexml_load_string($result);
......
......@@ -12,7 +12,7 @@ class Yandex extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$title = "";
......
......@@ -12,7 +12,7 @@ class Zeitde extends Searchengine
parent::__construct($engine, $metager);
}
public function loadResults (String $result)
public function loadResults ($result)
{
$results = json_decode($result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment