Formatando o código com php-cs-fixer

laravel-11
jtfnetoo 3 years ago
parent 88e65b5f1e
commit 8b7348cfbc

@ -4,8 +4,8 @@ namespace Ae3\JasperServer\Laravel\Integrator\app\Enums;
class ContentDispositionEnum class ContentDispositionEnum
{ {
const INLINE = "inline"; public const INLINE = "inline";
const ATTACHMENT = "attachment"; public const ATTACHMENT = "attachment";
/** /**
* @return array * @return array
@ -17,4 +17,4 @@ class ContentDispositionEnum
self::ATTACHMENT self::ATTACHMENT
]; ];
} }
} }

@ -4,14 +4,14 @@ namespace Ae3\JasperServer\Laravel\Integrator\app\Enums;
class ReportFormatEnum class ReportFormatEnum
{ {
const PDF = "pdf"; public const PDF = "pdf";
const HTML = "html"; public const HTML = "html";
const XML = "xml"; public const XML = "xml";
const CSV = "csv"; public const CSV = "csv";
const DOCX = "docx"; public const DOCX = "docx";
const ODT = "odt"; public const ODT = "odt";
const ODS = "ods"; public const ODS = "ods";
const XLSX = "xlsx"; public const XLSX = "xlsx";
/** /**
* @return array * @return array
@ -70,4 +70,4 @@ class ReportFormatEnum
return 'text/html'; return 'text/html';
} }
} }
} }

@ -280,7 +280,7 @@ class JasperServerRequestService implements JasperServerRequestServiceContract
* @return string * @return string
*/ */
private function appendFormatExtension(string $filename): string private function appendFormatExtension(string $filename): string
{ {
return $filename . '.' . $this->format; return $filename . '.' . $this->format;
} }
} }

Loading…
Cancel
Save