Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Commit

Permalink
Bugfix: added translation for callable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrankruijter committed Jan 14, 2020
1 parent 669bc18 commit 80b5f51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.4 - 2020-01-14
### Fixed
- Added translation for callable type.

## 1.0.3 - 2020-01-12
### Fixed
- Renamed file InvalidParameterTypeException so it can be autoloaded.
Expand Down Expand Up @@ -38,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Created the initial implementation of the ObjectFactory.

[Unreleased]: https://github.com/ulrack/object-factory/compare/1.0.3...HEAD
[Unreleased]: https://github.com/ulrack/object-factory/compare/1.0.4...HEAD
[1.0.4]: https://github.com/ulrack/object-factory/compare/1.0.3...1.0.4
[1.0.3]: https://github.com/ulrack/object-factory/compare/1.0.2...1.0.3
[1.0.2]: https://github.com/ulrack/object-factory/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/ulrack/object-factory/compare/1.0.0...1.0.1
3 changes: 2 additions & 1 deletion src/Component/Analyser/ClassAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class ClassAnalyser implements ClassAnalyserInterface
private $translations = [
'bool' => 'boolean',
'int' => 'integer',
'float' => 'double'
'float' => 'double',
'callable' => 'array',
];

/**
Expand Down

0 comments on commit 80b5f51

Please sign in to comment.