@@ -161,7 +161,7 @@ |
||
161 | 161 | { |
162 | 162 | if(is_array($email)){ |
163 | 163 | $this->from = [$email['email'] => $email['name']]; |
164 | - }else{ |
|
164 | + } else{ |
|
165 | 165 | $this->from = is_object($email) || null === $name |
166 | 166 | |
167 | 167 | : array($email => $name); |
@@ -119,8 +119,7 @@ |
||
119 | 119 | if ('file-uri' === $params->fromPost('return')) { |
120 | 120 | $content = $viewHelperManager->get('basepath') |
121 | 121 | ->__invoke($form->getHydrator()->getLastUploadedFile()->getUri()); |
122 | - } |
|
123 | - else { |
|
122 | + } else { |
|
124 | 123 | if ($form instanceof SummaryFormInterface) { |
125 | 124 | $form->setRenderMode(SummaryFormInterface::RENDER_SUMMARY); |
126 | 125 | $viewHelper = 'summaryForm'; |
@@ -54,16 +54,15 @@ |
||
54 | 54 | |
55 | 55 | try { |
56 | 56 | $parameter_instances[] = $parentLocator->get($cn); |
57 | - } |
|
58 | - catch (\Exception $x) { |
|
57 | + } catch (\Exception $x) { |
|
59 | 58 | echo __CLASS__ |
60 | 59 | . " couldn't create an instance of $cn to satisfy the constructor for $requestedName."; |
61 | 60 | exit; |
62 | 61 | } |
63 | - } |
|
64 | - else{ |
|
65 | - if( $p->isArray() && $p->getName() == 'config' ) |
|
66 | - $parameter_instances[] = $parentLocator->get('config'); |
|
62 | + } else{ |
|
63 | + if( $p->isArray() && $p->getName() == 'config' ) { |
|
64 | + $parameter_instances[] = $parentLocator->get('config'); |
|
65 | + } |
|
67 | 66 | } |
68 | 67 | |
69 | 68 | } |