| @@ -81,7 +81,7 @@ | ||
| 81 | 81 | * | 
| 82 | 82 | * @param int $format | 
| 83 | 83 | * | 
| 84 | - * @return \nochso\Omni\Duration | |
| 84 | + * @return Duration | |
| 85 | 85 | */ | 
| 86 | 86 | public static function create($format = self::FORMAT_SHORT) | 
| 87 | 87 |      { | 
| @@ -88,14 +88,14 @@ discard block | ||
| 88 | 88 | public static function ensureInteger($value) | 
| 89 | 89 |      { | 
| 90 | 90 | $numeric = self::ensure($value); | 
| 91 | -        if ((float) (int) $numeric !== (float) $numeric) { | |
| 91 | +        if ((float)(int)$numeric !== (float)$numeric) { | |
| 92 | 92 | throw new \InvalidArgumentException(sprintf( | 
| 93 | 93 | "Could not safely convert value '%s' of type '%s' to integer because of trailing decimal places.", | 
| 94 | 94 | $value, | 
| 95 | 95 | Type::summarize($value) | 
| 96 | 96 | )); | 
| 97 | 97 | } | 
| 98 | - return (int) $numeric; | |
| 98 | + return (int)$numeric; | |
| 99 | 99 | } | 
| 100 | 100 | |
| 101 | 101 | /** | 
| @@ -118,6 +118,6 @@ discard block | ||
| 118 | 118 | */ | 
| 119 | 119 | public static function ensureFloat($value) | 
| 120 | 120 |      { | 
| 121 | - return (float) self::ensure($value); | |
| 121 | + return (float)self::ensure($value); | |
| 122 | 122 | } | 
| 123 | 123 | } | 
| @@ -191,10 +191,10 @@ | ||
| 191 | 191 | */ | 
| 192 | 192 | private function trimPrecision($number) | 
| 193 | 193 |      { | 
| 194 | -        if ($this->precisionTrimming && strpos((string) $number, '.') !== false) { | |
| 194 | +        if ($this->precisionTrimming && strpos((string)$number, '.') !== false) { | |
| 195 | 195 | $number = rtrim($number, '0'); | 
| 196 | 196 | $number = rtrim($number, '.'); | 
| 197 | - $number = (double) $number; | |
| 197 | + $number = (double)$number; | |
| 198 | 198 | } | 
| 199 | 199 | return $number; | 
| 200 | 200 | } | 
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 | */ | 
| 36 | 36 | public function __toString() | 
| 37 | 37 |      { | 
| 38 | - return implode((string) $this->eol, $this->list); | |
| 38 | + return implode((string)$this->eol, $this->list); | |
| 39 | 39 | } | 
| 40 | 40 | |
| 41 | 41 | /** |