@@ -54,8 +54,7 @@ |
||
| 54 | 54 | parent::insertAt($index, $item); |
| 55 | 55 | $this->_wizard->getMultiView()->getViews()->insertAt($index, $item); |
| 56 | 56 | $this->_wizard->addedWizardStep($item); |
| 57 | - } |
|
| 58 | - else |
|
| 57 | + } else |
|
| 59 | 58 | throw new TInvalidDataTypeException('wizardstepcollection_wizardstep_required'); |
| 60 | 59 | } |
| 61 | 60 | |
@@ -233,8 +233,7 @@ |
||
| 233 | 233 | $link->attachEventHandler('OnDataBinding', [$this,'dataBindColumn']); |
| 234 | 234 | $cell->getControls()->add($link); |
| 235 | 235 | $cell->registerObject('HyperLink', $link); |
| 236 | - } |
|
| 237 | - else |
|
| 236 | + } else |
|
| 238 | 237 | parent::initializeCell($cell, $columnIndex, $itemType); |
| 239 | 238 | } |
| 240 | 239 | |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | parent::insertAt($index, $item); |
| 60 | 60 | if($this->_o instanceof THttpResponse) |
| 61 | 61 | $this->_o->addCookie($item); |
| 62 | - } |
|
| 63 | - else |
|
| 62 | + } else |
|
| 64 | 63 | throw new TInvalidDataTypeException('httpcookiecollection_httpcookie_required'); |
| 65 | 64 | } |
| 66 | 65 | |
@@ -195,8 +195,7 @@ |
||
| 195 | 195 | { |
| 196 | 196 | fwrite($fw, $this->saveToString()); |
| 197 | 197 | fclose($fw); |
| 198 | - } |
|
| 199 | - else |
|
| 198 | + } else |
|
| 200 | 199 | throw new TIOException('xmldocument_file_write_failed', $file); |
| 201 | 200 | } |
| 202 | 201 | |
@@ -177,8 +177,7 @@ |
||
| 177 | 177 | { |
| 178 | 178 | $cultureInfo = CultureInfo::getInstance($culture); |
| 179 | 179 | return $cultureInfo->getDateTimeFormat(); |
| 180 | - } |
|
| 181 | - else |
|
| 180 | + } else |
|
| 182 | 181 | { |
| 183 | 182 | $cultureInfo = CultureInfo::getInvariantCulture(); |
| 184 | 183 | return $cultureInfo->getDateTimeFormat(); |
@@ -208,8 +208,7 @@ |
||
| 208 | 208 | return $this->postscript[0] . |
| 209 | 209 | strtr($string, $args) . |
| 210 | 210 | $this->postscript[1]; |
| 211 | - } |
|
| 212 | - else |
|
| 211 | + } else |
|
| 213 | 212 | return strtr($target, $args); |
| 214 | 213 | } |
| 215 | 214 | } |
@@ -74,8 +74,7 @@ |
||
| 74 | 74 | return $conn->getDbConnection(); |
| 75 | 75 | else |
| 76 | 76 | throw new TConfigurationException('messagesource_connectionid_invalid', $connectionID); |
| 77 | - } |
|
| 78 | - else |
|
| 77 | + } else |
|
| 79 | 78 | throw new TConfigurationException('messagesource_connectionid_required'); |
| 80 | 79 | } |
| 81 | 80 | |
@@ -41,8 +41,7 @@ |
||
| 41 | 41 | $limitStr = ' LIMIT ' . $limit; |
| 42 | 42 | $offsetStr = $offset >= 0 ? ' OFFSET ' . $offset : ''; |
| 43 | 43 | return $sql . $limitStr . $offsetStr; |
| 44 | - } |
|
| 45 | - else |
|
| 44 | + } else |
|
| 46 | 45 | return $sql; |
| 47 | 46 | } |
| 48 | 47 | } |
@@ -418,8 +418,7 @@ |
||
| 418 | 418 | { |
| 419 | 419 | $useArgs = !is_array($parameters) && is_array($args); |
| 420 | 420 | return new TSqlCriteria($criteria, $useArgs ? $args : $parameters); |
| 421 | - } |
|
| 422 | - elseif($criteria instanceof TSqlCriteria) |
|
| 421 | + } elseif($criteria instanceof TSqlCriteria) |
|
| 423 | 422 | return $criteria; |
| 424 | 423 | else |
| 425 | 424 | throw new TDbException('dbtablegateway_invalid_criteria'); |