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

Commit

Permalink
[#4510] CS fixes
Browse files Browse the repository at this point in the history
- Move closing paren/opening brace to next line
  - constructor (multi-line definition)
  - if statement (multi-line conditional)
  • Loading branch information
weierophinney committed May 23, 2013
1 parent 31a5534 commit 39e621b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/Zend/I18n/Filter/NumberParse.php
Expand Up @@ -35,8 +35,8 @@ class NumberParse extends AbstractLocale
public function __construct(
$localeOrOptions = null,
$style = NumberFormatter::DEFAULT_STYLE,
$type = NumberFormatter::TYPE_DOUBLE)
{
$type = NumberFormatter::TYPE_DOUBLE
) {
parent::__construct();
if ($localeOrOptions !== null) {
if ($localeOrOptions instanceof Traversable) {
Expand Down Expand Up @@ -142,8 +142,8 @@ public function getFormatter()
public function filter($value)
{
if (!is_int($value)
&& !is_float($value)) {

&& !is_float($value)
) {
ErrorHandler::start();

$result = $this->getFormatter()->parse(
Expand Down

0 comments on commit 39e621b

Please sign in to comment.