@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -88,7 +88,7 @@ |
||
88 | 88 | * |
89 | 89 | * @param Alpha\Util\Http\Request $request |
90 | 90 | * |
91 | - * @return Alpha\Util\Http\Response |
|
91 | + * @return Response |
|
92 | 92 | * |
93 | 93 | * @since 1.0 |
94 | 94 | */ |
@@ -1013,7 +1013,7 @@ |
||
1013 | 1013 | /** |
1014 | 1014 | * Get the current view renderer provider. |
1015 | 1015 | * |
1016 | - * @return Alpha\View\Renderer\RendererProviderInterface |
|
1016 | + * @return RendererProviderInterface |
|
1017 | 1017 | * |
1018 | 1018 | * @since 2.0 |
1019 | 1019 | */ |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | foreach ($attachments[0] as $attachmentURL) { |
157 | 157 | $start = mb_strpos($attachmentURL, '/'); |
158 | 158 | $end = mb_strrpos($attachmentURL, '"'); |
159 | - $fileName = mb_substr($attachmentURL, $start + 1, $end - ($start + 1)); |
|
159 | + $fileName = mb_substr($attachmentURL, $start+1, $end-($start+1)); |
|
160 | 160 | |
161 | 161 | if (method_exists($this->BO, 'getAttachmentSecureURL')) { |
162 | 162 | $this->content = str_replace($attachmentURL, 'href='.$this->BO->getAttachmentSecureURL($fileName), $this->content); |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | foreach ($attachments[0] as $attachmentURL) { |
171 | 171 | $start = mb_strpos($attachmentURL, '/'); |
172 | 172 | $end = mb_strrpos($attachmentURL, '" alt'); |
173 | - $fileName = mb_substr($attachmentURL, $start + 1, $end - ($start + 1)); |
|
173 | + $fileName = mb_substr($attachmentURL, $start+1, $end-($start+1)); |
|
174 | 174 | |
175 | 175 | if ($config->get('cms.images.widget')) { |
176 | 176 | // get the details of the source image |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | $type = 'png'; |
186 | 186 | } |
187 | 187 | |
188 | - $img = new Image($path, $image_details[0], $image_details[1], $type, 0.95, false, (boolean) $config->get('cms.images.widget.secure')); |
|
188 | + $img = new Image($path, $image_details[0], $image_details[1], $type, 0.95, false, (boolean)$config->get('cms.images.widget.secure')); |
|
189 | 189 | $this->content = str_replace($attachmentURL, $img->renderHTMLLink(), $this->content); |
190 | 190 | } else { |
191 | 191 | // render a normal image link to the ViewAttachment controller |