@@ -78,7 +78,7 @@ |
||
78 | 78 | { |
79 | 79 | $esc = $this->escaper; |
80 | 80 | |
81 | - $filePathsEscaped = array_map(function (string $filePath) use ($esc) { |
|
81 | + $filePathsEscaped = array_map(function(string $filePath) use ($esc) { |
|
82 | 82 | return $esc->shellArg($filePath); |
83 | 83 | }, $filePaths); |
84 | 84 |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | { |
358 | 358 | $matches = []; |
359 | 359 | $regex = '/BookmarkBegin\nBookmarkTitle: (?<title>.+)\n' . |
360 | - 'BookmarkLevel: (?<level>[0-9]+)\nBookmarkPageNumber: (?<page>[0-9]+)/'; |
|
360 | + 'BookmarkLevel: (?<level>[0-9]+)\nBookmarkPageNumber: (?<page>[0-9]+)/'; |
|
361 | 361 | preg_match_all($regex, $dump, $matches, PREG_SET_ORDER); |
362 | 362 | |
363 | 363 | foreach ($matches as $bm) { |
@@ -407,8 +407,8 @@ discard block |
||
407 | 407 | { |
408 | 408 | $matches = []; |
409 | 409 | $regex = '/PageMediaBegin\nPageMediaNumber: (?<page>.+)\nPageMediaRotation: (?<rotation>[0-9]+)\n' . |
410 | - 'PageMediaRect: .*\n' . |
|
411 | - 'PageMediaDimensions: (?<dim>(([0-9]\,)?[0-9]+(\.[0-9]+)?) (([0-9]\,)?[0-9]+(\.[0-9]+)?))/'; |
|
410 | + 'PageMediaRect: .*\n' . |
|
411 | + 'PageMediaDimensions: (?<dim>(([0-9]\,)?[0-9]+(\.[0-9]+)?) (([0-9]\,)?[0-9]+(\.[0-9]+)?))/'; |
|
412 | 412 | preg_match_all($regex, $dump, $matches, PREG_SET_ORDER); |
413 | 413 | |
414 | 414 | foreach ($matches as $p) { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | { |
79 | 79 | $esc = $this->escaper; |
80 | 80 | |
81 | - $filePathsEscaped = array_map(function (string $filePath) use ($esc) { |
|
81 | + $filePathsEscaped = array_map(function(string $filePath) use ($esc) { |
|
82 | 82 | return $esc->shellArg($filePath); |
83 | 83 | }, $filePaths); |
84 | 84 |