diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/OERHostOERSI.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/OERHostOERSI.php')
| -rw-r--r-- | lib/models/OERHostOERSI.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/OERHostOERSI.php b/lib/models/OERHostOERSI.php index 24d3251..cece8ba 100644 --- a/lib/models/OERHostOERSI.php +++ b/lib/models/OERHostOERSI.php @@ -2,7 +2,6 @@ class OERHostOERSI extends OERHost { - /** * Executes a search request on the host. * @param string|null $text : the search string @@ -28,7 +27,7 @@ class OERHostOERSI extends OERHost $output = curl_exec($cr); $error = curl_error($cr); if ($error) { - $error_number = curl_getinfo($cr, CURLINFO_HTTP_CODE); + $error_number = curl_getinfo($cr, CURLINFO_HTTP_CODE); error_log('OERSI search is not working. '.$error_number.': '.$error); } curl_close($cr); |
