fix: SA: Fix "incorrect case" rule.

SA stands for Static Analysis.
This commit is contained in:
Pol Dellaiera
2021-11-16 10:29:41 +01:00
parent 196cddab09
commit a7b96f1756
4 changed files with 42 additions and 58 deletions

View File

@@ -229,7 +229,7 @@ class SpreadSheetFormatter implements FormatterInterface
$this->getContentType($this->formatterData['format']));
$this->tempfile = \tempnam(\sys_get_temp_dir(), '');
$this->generatecontent();
$this->generateContent();
$f = \fopen($this->tempfile, 'r');
$response->setContent(\stream_get_contents($f));