rename http to httpuri

This commit is contained in:
Dennis Eichhorn 2020-02-12 18:38:32 +01:00
parent 766428eff5
commit fbcf86d2c7
2 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ declare(strict_types=1);
use phpOMS\Message\Http\HttpRequest;
use phpOMS\Message\Http\Rest;
use phpOMS\Uri\Http;
use phpOMS\Uri\HttpUri;
/**
* @var \phpOMS\Views\View $this
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
\md5(
Rest::request(
new HttpRequest(
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php')
new HttpUri('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php')
)
)->getBody()
)

View File

@ -18,7 +18,7 @@ use phpOMS\Message\Http\Rest;
use phpOMS\Security\PhpCode;
use phpOMS\System\File\Local\Directory;
use phpOMS\System\File\Local\File;
use phpOMS\Uri\Http;
use phpOMS\Uri\HttpUri;
echo $this->getData('nav')->render(); ?>
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
$content,
Rest::request(
new HttpRequest(
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
new HttpUri('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
)
)->getBody()
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
@ -84,7 +84,7 @@ echo $this->getData('nav')->render(); ?>
$content,
Rest::request(
new HttpRequest(
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
new HttpUri('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
)
)->getBody()
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
@ -103,7 +103,7 @@ echo $this->getData('nav')->render(); ?>
$content,
Rest::request(
new HttpRequest(
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
new HttpUri('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
)
)->getBody()
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>