Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Lochon committed May 4, 2020
1 parent 7b31145 commit d11fb07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Classes/Services/Tools/CSVManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public function writeCSV(
string $filePath = '',
string $fileName = '',
string $delimiter = ';',
string $enclosure = '"'): void
string $enclosure = '"'
): void
{
$this->writeFile($this->generateCSV($csvDatas, $delimiter, $enclosure), $filePath, $fileName);
}
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public function getConfigTreeBuilder(): TreeBuilder
->ifString()
->then(function ($value) {
if ('' == $value) {
throw new InvalidConfigurationException(Configuration::PATH_VALUE_EMPTY);
throw new InvalidConfigurationException(self::PATH_VALUE_EMPTY);
}

return $value;
})
->end()
->end()
->scalarNode('fs_system_cache_path_chmod')
->scalarNode('fs_system_cache_path_chmod') //Could be validated
->end()
->integerNode('fs_system_cache_path_default_ttl')
->min(0)
Expand Down

0 comments on commit d11fb07

Please sign in to comment.