@@ -558,7 +558,7 @@ |
||
| 558 | 558 | } |
| 559 | 559 | if (Lang::has($trans_key_low)) { |
| 560 | 560 | $label = Lang::get($trans_key_low); |
| 561 | - }else { |
|
| 561 | + } else { |
|
| 562 | 562 | $label = ucfirst($label); |
| 563 | 563 | } |
| 564 | 564 | return $label; |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | } |
| 296 | 296 | if (empty($label) && Lang::has($trans_key_low)) { |
| 297 | 297 | $label = Lang::get($trans_key_low); |
| 298 | - }else if (empty($label)) { |
|
| 298 | + } else if (empty($label)) { |
|
| 299 | 299 | $label = ucfirst($relationColumn); |
| 300 | 300 | } |
| 301 | 301 | return $label; |
@@ -366,7 +366,9 @@ |
||
| 366 | 366 | */ |
| 367 | 367 | public function title() |
| 368 | 368 | { |
| 369 | - if ($this->Title != "") return $this->Title; |
|
| 369 | + if ($this->Title != "") { |
|
| 370 | + return $this->Title; |
|
| 371 | + } |
|
| 370 | 372 | |
| 371 | 373 | if ($this->mode == static::MODE_CREATE) { |
| 372 | 374 | return trans('admin.create'); |
@@ -307,6 +307,4 @@ |
||
| 307 | 307 | */ |
| 308 | 308 | public function __toString() |
| 309 | 309 | { |
| 310 | - return $this->render(); |
|
| 311 | - } |
|
| 312 | -} |
|
| 310 | + return $this->render |
|
| 313 | 311 | \ No newline at end of file |
@@ -307,6 +307,4 @@ |
||
| 307 | 307 | */ |
| 308 | 308 | public function __toString() |
| 309 | 309 | { |
| 310 | - return $this->render(); |
|
| 311 | - } |
|
| 312 | -} |
|
| 310 | + return $this->render |
|
| 313 | 311 | \ No newline at end of file |
@@ -558,7 +558,7 @@ |
||
| 558 | 558 | } |
| 559 | 559 | if (Lang::has($trans_key_low)) { |
| 560 | 560 | $label = Lang::get($trans_key_low); |
| 561 | - }else { |
|
| 561 | + } else { |
|
| 562 | 562 | $label = ucfirst($label); |
| 563 | 563 | } |
| 564 | 564 | return $label; |