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

Commit

Permalink
Apply fixes from StyleCI (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jan 19, 2018
1 parent 30877f1 commit 318a1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Valuators/RmbCent.php
Expand Up @@ -33,6 +33,6 @@ public function asCurrency($format = null)

public static function toStorableValue($value)
{
return $value === null ? null : $value * 100;
return null === $value ? null : $value * 100;
}
}
1 change: 1 addition & 0 deletions tests/OrderWithReplaceToArray.php
Expand Up @@ -19,5 +19,6 @@
class OrderWithReplaceToArray extends Order
{
protected $appendRevaluatedAttributesToArray = true;

protected $replaceRawAttributesToArray = true;
}

0 comments on commit 318a1ab

Please sign in to comment.