From 232bd767f8d4edbef21947ee3b34ec52b8274f2f Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Thu, 1 Feb 2024 23:08:20 +0000 Subject: [PATCH] www2 --- .php-cs-fixer.cache | 2 +- src/DocScan/Session/Create/SdkConfig.php | 2 -- .../RequestedTextExtractionTaskBuilder.php | 11 +++++---- .../RequestedTextExtractionTaskConfig.php | 7 ++++-- .../Retrieve/IdDocumentResourceResponse.php | 2 +- src/Profile/Service.php | 5 ++-- tests/Profile/ServiceTest.php | 23 ------------------- 7 files changed, 16 insertions(+), 36 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index fd9a69b1..fe2a7fad 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.1.27","version":"3.22.0:v3.22.0#92b019f6c8d79aa26349d0db7671d37440dc0ff3","indent":" ","lineEnding":"\n","rules":{"array_syntax":{"syntax":"short"},"no_unused_imports":true,"ordered_imports":{"imports_order":["const","class","function"]},"php_unit_fqcn_annotation":true,"phpdoc_return_self_reference":true,"phpdoc_scalar":true},"hashes":{"\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10691\/tests\/Aml\/ResultTest.php":"8e316453dc33c5bb9a1a2efa85e2b986","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7761\/tests\/ShareUrl\/ResultTest.php":"7bc165333b7cd359bbc7e6b68daf4937","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3932\/tests\/Profile\/ServiceTest.php":"5cfa20d1b5052c528fac1e640579f3a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4414\/src\/Profile\/Service.php":"c631534c5f622cc343151190bdaf4a0a"}} \ No newline at end of file +{"php":"8.1.27","version":"3.22.0:v3.22.0#92b019f6c8d79aa26349d0db7671d37440dc0ff3","indent":" ","lineEnding":"\n","rules":{"array_syntax":{"syntax":"short"},"no_unused_imports":true,"ordered_imports":{"imports_order":["const","class","function"]},"php_unit_fqcn_annotation":true,"phpdoc_return_self_reference":true,"phpdoc_scalar":true},"hashes":{"\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10691\/tests\/Aml\/ResultTest.php":"8e316453dc33c5bb9a1a2efa85e2b986","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7761\/tests\/ShareUrl\/ResultTest.php":"7bc165333b7cd359bbc7e6b68daf4937","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3932\/tests\/Profile\/ServiceTest.php":"5cfa20d1b5052c528fac1e640579f3a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4414\/src\/Profile\/Service.php":"c631534c5f622cc343151190bdaf4a0a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7966\/src\/Util\/Json.php":"3cf117da6d145451b4044f83a1725899","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7914\/src\/Profile\/Util\/Attribute\/AnchorConverter.php":"5da7136d03b4a074d22915cd82804bea","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3967\/src\/Profile\/Util\/Attribute\/AnchorListConverter.php":"a177b76b04c470ee806cdb4818b4204c","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11241\/tests\/Profile\/BaseProfileTest.php":"d6c3af20942f5e2e4897ae80e2f281f3","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10998\/tests\/Profile\/ServiceTest.php":"5cfa20d1b5052c528fac1e640579f3a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2574\/src\/Profile\/Service.php":"25026dac66c107814706efa49bfed97e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5716\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1708\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12265\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14285\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12443\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5948\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13908\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4246\/tests\/Profile\/ServiceTest.php":"5cfa20d1b5052c528fac1e640579f3a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5228\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13069\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7524\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13527\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5367\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10686\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13764\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11014\/tests\/Profile\/ServiceTest.php":"c5f7432b9bbb7e541ec0b0dde4d9b9f3","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11793\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6789\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4481\/tests\/Profile\/ServiceTest.php":"c5f7432b9bbb7e541ec0b0dde4d9b9f3","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13533\/tests\/Profile\/ServiceTest.php":"5cfa20d1b5052c528fac1e640579f3a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12411\/tests\/Profile\/ServiceTest.php":"12e63c7ddd483e2988dd25c991f12fd5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4245\/tests\/Profile\/ServiceTest.php":"12e63c7ddd483e2988dd25c991f12fd5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12920\/tests\/Profile\/ServiceTest.php":"3d5b7e511034af62076f72fa2b65a7ee","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10641\/tests\/Profile\/ServiceTest.php":"12e63c7ddd483e2988dd25c991f12fd5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14254\/tests\/Profile\/ServiceTest.php":"3d5b7e511034af62076f72fa2b65a7ee","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14049\/tests\/Profile\/ServiceTest.php":"9b9585cfee63b5d7c6690e5a4c3cecb6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10367\/tests\/Profile\/ServiceTest.php":"bafe0118aceed94897dbfabcebf1b0a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8863\/src\/Profile\/Service.php":"1dce072a6965a9486359a8bb05931311","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3077\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1597\/tests\/Profile\/ServiceTest.php":"bafe0118aceed94897dbfabcebf1b0a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12088\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14175\/tests\/Profile\/ServiceTest.php":"bafe0118aceed94897dbfabcebf1b0a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10525\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5388\/tests\/Profile\/ServiceTest.php":"15bb463f447014586f047607e00ff861","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3107\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2670\/tests\/Profile\/ServiceTest.php":"2a0b9a7e5395769f970cc849371d1aa7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3406\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4928\/tests\/Profile\/ServiceTest.php":"3b859de878b06d0b5657cc436780a903","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12508\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder532\/tests\/Profile\/ServiceTest.php":"3b859de878b06d0b5657cc436780a903","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12409\/tests\/Profile\/ServiceTest.php":"15bb463f447014586f047607e00ff861","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5857\/tests\/Profile\/ServiceTest.php":"bafe0118aceed94897dbfabcebf1b0a6","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8845\/tests\/TestData.php":"827184ce04cf8e46a35742ad877bcad7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3521\/tests\/Profile\/ServiceTest.php":"f9b7bcf1f431050561633957840f8b3a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8574\/tests\/Profile\/ServiceTest.php":"f9b7bcf1f431050561633957840f8b3a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14468\/tests\/Profile\/ServiceTest.php":"f9b7bcf1f431050561633957840f8b3a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3584\/src\/Profile\/Service.php":"78b4aa248797a0175a07d6fc87443d24","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder656\/src\/Profile\/Service.php":"718dc3623a5f1c812e64e7a5a6643085","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11643\/src\/Profile\/Service.php":"251d702316bd6fdc11ee93cc5e9fbcde","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13002\/src\/Profile\/Service.php":"718dc3623a5f1c812e64e7a5a6643085","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7937\/src\/Profile\/Service.php":"536c57d77e04cd1b664ddad0a931eab5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4980\/src\/Profile\/Service.php":"dbfac4d7c878402cf7fc405238297b73","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14490\/src\/Profile\/Service.php":"5349387275240d7c5968cc26969399dc","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7355\/src\/Profile\/Service.php":"42bcd79493f3ae0ea50b8aab7e0638d5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14633\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13987\/tests\/Profile\/ServiceTest.php":"f9b7bcf1f431050561633957840f8b3a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5599\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12871\/tests\/Profile\/ServiceTest.php":"75634d8efd0d37622490932764fecd99","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6652\/tests\/Profile\/ServiceTest.php":"7d3de83af1442e32cf33800879b94959","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9370\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2814\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10503\/tests\/Profile\/ServiceTest.php":"0e352546627b8a1f96d7b46c92b284a2","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13371\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11611\/src\/DocScan\/Session\/Retrieve\/IdDocumentResourceResponse.php":"7bf4d09cc0a58470af431046cfc7687e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4483\/src\/DocScan\/Session\/Retrieve\/IdDocumentResourceResponse.php":"52d3d5a1ffd3879d3f7d1eecb55a73ee","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8951\/src\/DocScan\/Session\/Retrieve\/IdDocumentResourceResponse.php":"7bf4d09cc0a58470af431046cfc7687e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4057\/src\/DocScan\/Session\/Retrieve\/IdDocumentResourceResponse.php":"52bd8878d164d9e5aac1dd60dce89ce2","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder14574\/src\/DocScan\/Session\/Retrieve\/IdDocumentResourceResponse.php":"3dc8b24ca8c179ec0f2d110cbab54118","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8305\/.php-cs-fixer.dist.php":"0a31d73e56a1ecd093b4f761852ee1d3","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5379\/src\/DocScan\/Session\/Create\/SdkConfig.php":"e570742d72b41967f9cc7e20495b7100","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder601\/src\/DocScan\/Session\/Create\/SdkConfig.php":"defa00a16760c0f07cb4f16484770ddc","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3605\/src\/DocScan\/Session\/Create\/SdkConfig.php":"61b63d7cb686a25b1e664868fb8a5460","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7189\/src\/DocScan\/Session\/Create\/SdkConfig.php":"61b63d7cb686a25b1e664868fb8a5460","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder946\/src\/DocScan\/Session\/Create\/SdkConfig.php":"e8f10f818c24f50a1f92b316b09aa7cb","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4085\/src\/DocScan\/Session\/Create\/SdkConfig.php":"6363d690d1c2563052949a309b47c54e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7898\/src\/DocScan\/Session\/Create\/SdkConfig.php":"e97a84e32a50146e14db930c88f07dec","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6251\/src\/DocScan\/Session\/Create\/SdkConfig.php":"e97a84e32a50146e14db930c88f07dec","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12267\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"994c482f94c986253a3da93140575f26","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7911\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"7c39bf5a73b0bd371a7432b52b53f2e7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3211\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"0110be04021e24130b6400c7ad9e4c21","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9113\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"7c39bf5a73b0bd371a7432b52b53f2e7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1728\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6f2593c8b7ec2e0e16ed4f72ff440258","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder15043\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"fdd2d77bd044a83f4811d22df8db5c88","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6553\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"fdd2d77bd044a83f4811d22df8db5c88","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3681\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10785\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9722\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"fdd2d77bd044a83f4811d22df8db5c88","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12948\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1882\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3545\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"8987935c6ecc2f4a79b3d815bab6f03d","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8847\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"666686afc2848ce6a808257c1eccf0ce","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4500\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6ac90a23cfba9e2477e4397cd12c916b","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3054\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"86ba50625782fd53f36fca3e4246990a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1015\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"606d14cb7e3967400735325001240794","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3365\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"606d14cb7e3967400735325001240794","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8437\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"096e8f8672db38eee966b549b6d1fa68","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder15020\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10365\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6e50d8a13b4322c2b3ab19c8047a1995","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9638\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"8987935c6ecc2f4a79b3d815bab6f03d","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9961\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"8987935c6ecc2f4a79b3d815bab6f03d","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder678\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"f325575a0170825ed84abd533dc8d61f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12183\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"8987935c6ecc2f4a79b3d815bab6f03d","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11500\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"666686afc2848ce6a808257c1eccf0ce","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8800\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"6ac90a23cfba9e2477e4397cd12c916b","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3924\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"3fce54f40c09438d3193c54ed148c7d0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2377\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"5aa575da6b3ab6d098ad4ed6c58c2e66","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7131\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"3fce54f40c09438d3193c54ed148c7d0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3160\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"f813761f3da34eb46e6210ada9728ddc","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8202\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"f813761f3da34eb46e6210ada9728ddc","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10931\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"2f1f4b6acd4fdcd2cb4b5e53f06e4891","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1684\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"2f1f4b6acd4fdcd2cb4b5e53f06e4891","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11557\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"b217af9f0e6d73ee26e5037494076717","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9773\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"271875474476f3d3f7dec1ad262199d8","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3812\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"3a913bedb33741c25993d6f54631aab5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder282\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"3a913bedb33741c25993d6f54631aab5","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8072\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"b7330294b629cd9f8d655fbb8c2795c3","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder4777\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"997269468f564840d0b08aa62c95df33","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7052\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"997269468f564840d0b08aa62c95df33","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder672\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"4daa4585c9438f5ded746f03632bd216","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5689\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"2d4b1a4cceccb3e25d131845753fd0b7","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6963\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"427142582bbc86bf6c5e80aa8c7b2945","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1710\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"17c7713fa71fecefc01fc83ae0120850","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13800\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"17c7713fa71fecefc01fc83ae0120850","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3498\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"d45835ea3ec3e7889e1262ff766f22a8","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7396\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"d45835ea3ec3e7889e1262ff766f22a8","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder436\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"a8b7d00af84b1ecf11a3755ef4270a21","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder309\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskConfig.php":"a8b7d00af84b1ecf11a3755ef4270a21","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6044\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8563\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2554\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1248\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder953\/src\/Profile\/Service.php":"a458908970aaff67178ea645265a9d9a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder9966\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11703\/src\/Profile\/Service.php":"edcd83796484763fa5cd68077dee8c07","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder5308\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7508\/src\/Profile\/Service.php":"511f5556f5c9b06f03dcc5dc550c8fac","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6100\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10660\/src\/Profile\/Service.php":"e291b84189aa0438bd5bbbbebe4e7d40","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2403\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12036\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8064\/tests\/Profile\/Util\/EncryptedDataTest.php":"feac3070598f0e46980276dd19759e7a","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7393\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12762\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"2f1f4b6acd4fdcd2cb4b5e53f06e4891","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8717\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"49855713aabb4f527278f3c6605e8669","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8828\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"49855713aabb4f527278f3c6605e8669","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder13099\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"2f1f4b6acd4fdcd2cb4b5e53f06e4891","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder12968\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"4a17ccc4deecdfa8618bcf5efffb71a0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder1897\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"4a17ccc4deecdfa8618bcf5efffb71a0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder7506\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2501\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"4a17ccc4deecdfa8618bcf5efffb71a0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder8568\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder2440\/src\/DocScan\/Session\/Create\/Task\/RequestedTextExtractionTaskBuilder.php":"4a17ccc4deecdfa8618bcf5efffb71a0","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder3538\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder10382\/examples\/profile\/sdk\/src\/Profile\/Service.php":"25026dac66c107814706efa49bfed97e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder15420\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder6156\/examples\/profile\/sdk\/src\/Profile\/Service.php":"25026dac66c107814706efa49bfed97e","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder15443\/src\/Profile\/Service.php":"1271c4bb1d1ae75901678eef5410db5f","\/private\/var\/folders\/b6\/tqq9d7y54ll62fjfysz50ry80000gn\/T\/PHP CS Fixertemp_folder11208\/examples\/profile\/sdk\/src\/Profile\/Service.php":"25026dac66c107814706efa49bfed97e"}} \ No newline at end of file diff --git a/src/DocScan/Session/Create/SdkConfig.php b/src/DocScan/Session/Create/SdkConfig.php index 51b85112..a3c8086d 100644 --- a/src/DocScan/Session/Create/SdkConfig.php +++ b/src/DocScan/Session/Create/SdkConfig.php @@ -95,7 +95,6 @@ public function __construct( ?bool $allowHandoff = null, ?array $idDocumentTextDataExtractionRetriesConfig = null, ?string $biometricConsentFlow = null - ) { $this->allowedCaptureMethods = $allowedCaptureMethods; $this->primaryColour = $primaryColour; @@ -111,7 +110,6 @@ public function __construct( $this->attemptsConfiguration = new AttemptsConfiguration($idDocumentTextDataExtractionRetriesConfig); } $this->biometricConsentFlow = $biometricConsentFlow; - } /** diff --git a/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskBuilder.php b/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskBuilder.php index 174828f9..a3e3ddee 100644 --- a/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskBuilder.php +++ b/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskBuilder.php @@ -64,8 +64,8 @@ public function withManualCheck(string $manualCheck): self private $createExpandedDocumentFields; /** - * - * @param string $createExpandedDocumentFields + * + * @param bool $createExpandedDocumentFields * * @return $this */ @@ -82,8 +82,11 @@ public function build(): RequestedTextExtractionTask { Validation::notEmptyString($this->manualCheck, 'manualCheck'); - $config = new RequestedTextExtractionTaskConfig($this->manualCheck, $this->chipData, - $this->createExpandedDocumentFields); + $config = new RequestedTextExtractionTaskConfig( + $this->manualCheck, + $this->chipData, + $this->createExpandedDocumentFields + ); return new RequestedTextExtractionTask($config); } } diff --git a/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskConfig.php b/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskConfig.php index 7e5716d1..b124b343 100644 --- a/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskConfig.php +++ b/src/DocScan/Session/Create/Task/RequestedTextExtractionTaskConfig.php @@ -29,8 +29,11 @@ class RequestedTextExtractionTaskConfig implements RequestedTaskConfigInterface * @param string|null $chipData * @param bool|null $createExpandedDocumentFields */ - public function __construct(string $manualCheck, ?string $chipData = null, ?bool $createExpandedDocumentFields = false) - { + public function __construct( + string $manualCheck, + ?string $chipData = null, + ?bool $createExpandedDocumentFields = false + ) { $this->manualCheck = $manualCheck; $this->chipData = $chipData; $this->createExpandedDocumentFields = $createExpandedDocumentFields; diff --git a/src/DocScan/Session/Retrieve/IdDocumentResourceResponse.php b/src/DocScan/Session/Retrieve/IdDocumentResourceResponse.php index 6d9dc824..a163eb55 100644 --- a/src/DocScan/Session/Retrieve/IdDocumentResourceResponse.php +++ b/src/DocScan/Session/Retrieve/IdDocumentResourceResponse.php @@ -54,7 +54,7 @@ public function __construct(array $idDocument) $this->documentFields = isset($idDocument['document_fields']) ? new DocumentFieldsResponse($idDocument['document_fields']) : null; - + $this->expandedDocumentFields = isset($idDocument['expanded_document_fields']) ? new ExpandedDocumentFieldsResponse($idDocument['expanded_document_fields']) : null; diff --git a/src/Profile/Service.php b/src/Profile/Service.php index 00d0ff78..aa51e901 100644 --- a/src/Profile/Service.php +++ b/src/Profile/Service.php @@ -63,10 +63,9 @@ public function getActivityDetails(string $encryptedConnectToken): ActivityDetai { // Decrypt connect token $token = $this->decryptConnectToken($encryptedConnectToken); - error_log("Mas->"); + //error_log("Mas->".$encryptedConnectToken); error_log($this->config->getApiUrl() ?? Constants::API_URL); - // Request endpoint - error_log(sprintf('/profile/%s', $token)); + $response = (new RequestBuilder($this->config)) ->withBaseUrl($this->config->getApiUrl() ?? Constants::API_URL) ->withEndpoint(sprintf('/profile/%s', $token)) diff --git a/tests/Profile/ServiceTest.php b/tests/Profile/ServiceTest.php index dc5cc04c..968c44d0 100644 --- a/tests/Profile/ServiceTest.php +++ b/tests/Profile/ServiceTest.php @@ -133,29 +133,6 @@ public function testInvalidConnectToken() $profileService->getActivityDetails(TestData::INVALID_YOTI_CONNECT_TOKEN); } - /** - * Test invalid Token - * - * @covers ::getActivityDetails - * @covers ::decryptConnectToken - */ - public function testWrongPemFile() - { - $this->expectException(\Yoti\Exception\ActivityDetailsException::class); - $this->expectExceptionMessage('Could not decrypt one time use token'); - - $res = openssl_pkey_new([]); - openssl_pkey_export($res, $someKey); - - $profileService = new Service( - TestData::SDK_ID, - PemFile::fromString($someKey), - new Config() - ); - - $profileService->getActivityDetails(file_get_contents(TestData::YOTI_CONNECT_TOKEN)); - } - /** * @covers ::getActivityDetails */