@@ -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 | } |
@@ -217,8 +217,7 @@ |
||
| 217 | 217 | $this->error('A capsule with this name already exists!'); |
| 218 | 218 | |
| 219 | 219 | return false; |
| 220 | - } |
|
| 221 | - catch (NoCapsuleFoundException $e) {} |
|
| 220 | + } catch (NoCapsuleFoundException $e) {} |
|
| 222 | 221 | |
| 223 | 222 | if ($this->directoryExists()) { |
| 224 | 223 | $this->error( |