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

Commit

Permalink
Fixed the CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Dec 5, 2016
2 parents f00ef93 + 5e392c4 commit c230d0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

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

## 3.2.0 - TBD

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.0-dev",
"dev-develop": "3.1-dev"
"dev-master": "3.1-dev",
"dev-develop": "3.2-dev"
}
}
}
5 changes: 4 additions & 1 deletion src/Password/Bcrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ public function __construct($options = [])
if (!empty($options)) {
if ($options instanceof Traversable) {
$options = ArrayUtils::iteratorToArray($options);
} elseif (!is_array($options)) {
}

if (!is_array($options)) {
throw new Exception\InvalidArgumentException(
'The options parameter must be an array or a Traversable'
);
}

foreach ($options as $key => $value) {
switch (strtolower($key)) {
case 'salt':
Expand Down

0 comments on commit c230d0b

Please sign in to comment.