@@ -45,8 +45,7 @@ |
||
| 45 | 45 | $fieldText = $sourceField->getText(); |
| 46 | 46 | |
| 47 | 47 | //dump($fieldText); die; |
| 48 | - } |
|
| 49 | - else { |
|
| 48 | + } else { |
|
| 50 | 49 | $fieldText = (string) $object->Default; |
| 51 | 50 | } |
| 52 | 51 | |
@@ -24,8 +24,7 @@ |
||
| 24 | 24 | $this->getDateTime(), |
| 25 | 25 | $dateFormat |
| 26 | 26 | ); |
| 27 | - } |
|
| 28 | - catch (\Exception $e) { |
|
| 27 | + } catch (\Exception $e) { |
|
| 29 | 28 | throw new UnsupportedDateFormatException($this->getDateFormat()); |
| 30 | 29 | } |
| 31 | 30 | } |
@@ -116,8 +116,7 @@ |
||
| 116 | 116 | |
| 117 | 117 | if (empty($meta['rMask']) || $meta['rMask'] != 0xf800) { |
| 118 | 118 | $color[1] = (($color[1] & 0x7c00) >> 7) * 65536 + (($color[1] & 0x03e0) >> 2) * 256 + (($color[1] & 0x001f) << 3); // 555 |
| 119 | - } |
|
| 120 | - else { |
|
| 119 | + } else { |
|
| 121 | 120 | $color[1] = (($color[1] & 0xf800) >> 8) * 65536 + (($color[1] & 0x07e0) >> 3) * 256 + (($color[1] & 0x001f) << 3); // 565 |
| 122 | 121 | } |
| 123 | 122 | break; |