Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit df44ea1

Browse files
committed
[CS] Fix long line
1 parent 808f10a commit df44ea1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Template/ZendView/ServerUrlHelper.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ public function setUri(UriInterface $uri)
6868
*/
6969
private function createUrlFromUri($specification)
7070
{
71-
preg_match('%^(?P<path>[^?#]*)(?:(?:\?(?P<query>[^#]*))?(?:\#(?P<fragment>.*))?)$%', (string) $specification, $matches);
71+
preg_match(
72+
'%^(?P<path>[^?#]*)(?:(?:\?(?P<query>[^#]*))?(?:\#(?P<fragment>.*))?)$%',
73+
(string) $specification,
74+
$matches
75+
);
7276
$path = $matches['path'];
7377
$query = isset($matches['query']) ? $matches['query'] : '';
7478
$fragment = isset($matches['fragment']) ? $matches['fragment'] : '';

0 commit comments

Comments
 (0)