Skip to content

Commit

Permalink
CR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlev committed Feb 15, 2019
1 parent c94edc0 commit edc0406
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Localization/Specification/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ protected function validateData()
}

if (isset($this->maxFractionDigits)
&& !is_int($this->maxFractionDigits)
|| !is_int($this->maxFractionDigits)
) {
throw new LocalizationException('Invalid maxFractionDigits : ' . print_r($this->maxFractionDigits, true));
throw new LocalizationException('Invalid maxFractionDigits');
}

if (!isset($this->minFractionDigits)
Expand Down
1 change: 1 addition & 0 deletions var/cache/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Keep cache folder

0 comments on commit edc0406

Please sign in to comment.