From 59adbdb5deb9f7926403e6a02bf2cb7e9dbb85d8 Mon Sep 17 00:00:00 2001 From: Matthew Poulter Date: Fri, 1 Nov 2019 08:52:06 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/AdvancedNumber.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AdvancedNumber.php b/src/AdvancedNumber.php index 0fe4e69..ad609a4 100644 --- a/src/AdvancedNumber.php +++ b/src/AdvancedNumber.php @@ -19,7 +19,7 @@ class AdvancedNumber extends Number /** * The number of decimals to be displayed. * - * @var integer + * @var int */ private $decimals = 2; @@ -60,7 +60,7 @@ public function __construct($name, $attribute = null, $resolveCallback = null) $this->decimals($this->decimals) ->textAlign('right') ->displayUsing(function ($value) { - return !is_null($value) ? $this->prefix . number_format($value, $this->decimals, $this->dec_point, $this->thousands_sep) . $this->suffix : null; + return ! is_null($value) ? $this->prefix.number_format($value, $this->decimals, $this->dec_point, $this->thousands_sep).$this->suffix : null; }); } @@ -81,7 +81,7 @@ public function decimalPoint($dec_point) /** * Sets the number of decimal points to be used as well as the step value. * - * @param integer $decimals + * @param int $decimals * * @return $this */