@@ -125,8 +125,7 @@ |
||
| 125 | 125 | $date = null; |
| 126 | 126 | if ($item->updated_at) { |
| 127 | 127 | $date = $item->updated_at->toIso8601String(); |
| 128 | - } |
|
| 129 | - elseif ($item->created_at) { |
|
| 128 | + } elseif ($item->created_at) { |
|
| 130 | 129 | $date = $item->created_at->toIso8601String(); |
| 131 | 130 | } |
| 132 | 131 | |
@@ -1691,8 +1691,7 @@ |
||
| 1691 | 1691 | |
| 1692 | 1692 | try { |
| 1693 | 1693 | return TwillCapsules::getCapsuleForModel($this->modelName)->getViewPrefix(); |
| 1694 | - } |
|
| 1695 | - catch (NoCapsuleFoundException $e) { |
|
| 1694 | + } catch (NoCapsuleFoundException $e) { |
|
| 1696 | 1695 | return null; |
| 1697 | 1696 | } |
| 1698 | 1697 | } |