Skip to content

Commit

Permalink
Merge pull request #17 from bcremer/patch-1
Browse files Browse the repository at this point in the history
Fix superfluous traling semicolon in cached config
  • Loading branch information
weierophinney committed Sep 1, 2020
2 parents 257c32c + 8a62b3c commit e267739
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## 2.11.0 - TBD

### Added

- Nothing.

### Changed

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- Nothing.

## 2.10.1 - TBD

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/AbstractListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function writeArrayToFile($filePath, $array)
$content = "<?php\n" . VarExporter::export(
$array,
VarExporter::ADD_RETURN | VarExporter::CLOSURE_SNAPSHOT_USES
) . ';';
);
} catch (ExportException $e) {
throw ConfigCannotBeCachedException::fromExporterException($e);
}
Expand Down

0 comments on commit e267739

Please sign in to comment.