@@ -75,7 +75,7 @@ |
||
75 | 75 | |
76 | 76 | $chr2 = chr(ord('A') + $frac); |
77 | 77 | |
78 | - return $chr1 . $chr2 . ($this->row + 1); |
|
78 | + return $chr1.$chr2.($this->row + 1); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -15,7 +15,7 @@ |
||
15 | 15 | $rawname = ''; |
16 | 16 | $len = strlen($ascii); |
17 | 17 | for ($i = 0; $i < $len; $i++) { |
18 | - $rawname .= $ascii{$i} . "\x00"; |
|
18 | + $rawname .= $ascii{$i}."\x00"; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | return $rawname; |
@@ -176,7 +176,7 @@ |
||
176 | 176 | public static function toNullTerminatedWchar($str) |
177 | 177 | { |
178 | 178 | $str = join("\0", preg_split("''", $str, -1, PREG_SPLIT_NO_EMPTY)); |
179 | - $str = $str . "\0\0\0"; |
|
179 | + $str = $str."\0\0\0"; |
|
180 | 180 | |
181 | 181 | return $str; |
182 | 182 | } |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $object = $this; |
178 | 178 | } |
179 | 179 | |
180 | - $methodName = 'set' . ucwords($property); |
|
180 | + $methodName = 'set'.ucwords($property); |
|
181 | 181 | if (method_exists($object, $methodName)) { |
182 | 182 | $object->$methodName($value); |
183 | 183 | } |
@@ -418,8 +418,8 @@ discard block |
||
418 | 418 | { |
419 | 419 | if (!isset($this->rotationMap[$angle])) { |
420 | 420 | throw new \Exception( |
421 | - "Invalid value for angle." . |
|
422 | - " Possible values are: 0, 90, 270 and -1 " . |
|
421 | + "Invalid value for angle.". |
|
422 | + " Possible values are: 0, 90, 270 and -1 ". |
|
423 | 423 | "for stacking top-to-bottom." |
424 | 424 | ); |
425 | 425 | } |
@@ -299,7 +299,7 @@ |
||
299 | 299 | $index = count($this->worksheets); |
300 | 300 | |
301 | 301 | if ($name == '') { |
302 | - $name = 'Sheet' . ($index + 1); |
|
302 | + $name = 'Sheet'.($index + 1); |
|
303 | 303 | } |
304 | 304 | |
305 | 305 | $this->checkSheetName($name); |