Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 761bd988 erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

style: fix PSR-12 code style violations

Übergeordneter 42df72f3
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
Pipeline #10399 fehlgeschlagen mit Phase
in 46 Sekunden
......@@ -552,8 +552,7 @@ public function renderForMail(): string
public function toHTMLWithCSS(
bool|string $template = false,
bool|string $articleTemplate = false
): string
{
): string {
return $this->toUniqueList()->toHTMLWithCSS($template, $articleTemplate);
}
......
......@@ -560,8 +560,7 @@ public function toMailHTML(): string
public function toHTMLWithCSS(
bool|string $template = false,
bool|string $articleTemplate = false
): string
{
): string {
$style = '<style>';
$style .= file_get_contents(dirname(__FILE__) . '/ArticleList.css');
$style .= '</style>';
......@@ -581,8 +580,7 @@ public function toHTMLWithCSS(
public function render(
bool|string $template = false,
bool|string $articleTemplate = false
): string
{
): string {
return $this->toHTMLWithCSS($template, $articleTemplate);
}
......
......@@ -14,7 +14,6 @@
use QUI\ERP\Currency\Currency;
use QUI\ERP\Money\Price;
use QUI\Interfaces\Users\User as UserInterface;
use QUI\Locale;
use function array_map;
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren