From a9776fd1cf4698352dfe7421aafc53ed0b4c1d6e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 16:43:58 +0200 Subject: [PATCH] wip #5408 --- .idea/php.xml | 2 +- composer.json | 2 +- src/PDFTools.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/php.xml b/.idea/php.xml index c5d8e07..241dbb9 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -65,7 +65,7 @@ - + \ No newline at end of file diff --git a/composer.json b/composer.json index de312df..b2a6663 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=7.3.0", + "php": ">=8.0", "ext-json": "*", "ext-dom": "*", "ext-libxml": "*", diff --git a/src/PDFTools.php b/src/PDFTools.php index 87a8fdd..a004b67 100644 --- a/src/PDFTools.php +++ b/src/PDFTools.php @@ -89,6 +89,7 @@ class PDFTools $bookmark_id++; } elseif ($k == 'NumberSections') { $res['numberSections'] = $v; + $res['infos']['pagenumbers'] = $v; } } return $res; -- 2.39.5