Completed
Push — master ( 031221...6cba54 )
by Marcel
02:18
created
src/Format/Duration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Numeric.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,14 +88,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Format/Bytes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,10 +191,10 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Multiline.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.