From ed1cda4c510bc5ad169a7bc48422e8622292dc91 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Mon, 24 Jun 2024 17:23:51 +0300 Subject: [PATCH] SDK-2357 added validations to classes --- .php-cs-fixer.cache | 2 +- src/Identity/ErrorReason.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index aa610f68..efe88d5c 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.1.29","version":"3.59.3:v3.59.3#30ba9ecc2b0e5205e578fe29973c15653d9bfd29","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\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8233\/examples\/profile\/sdk\/src\/YotiClient.php":"36f7e583f0a046456d29ce23238800b6","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder441\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10615\/src\/Identity\/WrappedReceipt.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7885\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3331\/src\/Identity\/ErrorReason.php":"ffa522415154592179dec4b37b471970","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7552\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10385\/src\/Identity\/ErrorReason.php":"ffa522415154592179dec4b37b471970","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9021\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1782\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5834\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4202\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8372\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9846\/src\/Identity\/ErrorReason.php":"6dc63c421ef6b73814018f4054018f6a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder440\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11226\/src\/Identity\/ErrorReason.php":"5c6e5037955288ab2455d33f4385614a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4772\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2043\/src\/Identity\/ErrorReason.php":"5c6e5037955288ab2455d33f4385614a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9247\/src\/Identity\/ErrorReason.php":"4a563ac15db054683d52458b6d1977b9","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3891\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7263\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8220\/src\/Identity\/ErrorReason.php":"9b2c139ad97ba5b4202a321a2e8edd25","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1211\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2184\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10931\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4966\/src\/Identity\/RequirementNotMetDetails.php":"a8cbd09ef4d56d35c1420b69ff4700f3","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder205\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder120\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5797\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10725\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7115\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder421\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8721\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6292\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6772\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8432\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4910\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1793\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2072\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6605\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2711\/src\/Identity\/WrappedReceipt.php":"24a7cd8e8fe5aaac20017b66d2d8031d","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5221\/src\/Identity\/WrappedReceipt.php":"79f62bc2934d0856da8e42c1026c5e8f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9256\/src\/Identity\/WrappedReceipt.php":"83951ad8904476b440429f76e88ef7b4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1645\/src\/Identity\/WrappedReceipt.php":"0d09e2f114e843480d24ce944d5ec0a4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6460\/src\/Identity\/WrappedReceipt.php":"51e386a783be03b0d1f61634882f9ed4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4660\/src\/Identity\/WrappedReceipt.php":"c740e996b9f0c2f37127adca5756c961","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10602\/src\/Identity\/WrappedReceipt.php":"92283499ac53403c362a28bd225f2635","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder289\/src\/Identity\/WrappedReceipt.php":"2c1cee94b446bac31f27260c30f2af6c","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8368\/src\/Identity\/WrappedReceipt.php":"827420c52d4cc311b694e843f251f98a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11534\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3079\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4318\/src\/Identity\/WrappedReceipt.php":"49a08dd4d8c1a6bd9e0f93345eff23f1","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4937\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6574\/src\/Identity\/WrappedReceipt.php":"1d6f189412a649d4deaeb6656dc4b5ef","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7158\/src\/Identity\/WrappedReceipt.php":"5edfe93482c753e304e5afed6e88dbd4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5037\/src\/Identity\/WrappedReceipt.php":"5edfe93482c753e304e5afed6e88dbd4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder12021\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8464\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2742\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9275\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8370\/src\/Identity\/RequirementNotMetDetails.php":"e0c238b1896377e424c4bdcf7bd247ce","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7598\/src\/Identity\/RequirementNotMetDetails.php":"1fd87e80cf1e18f503f3c782602a83b0","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7595\/src\/Identity\/RequirementNotMetDetails.php":"74e78a53525369082ea457d59db03f63","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1404\/src\/Identity\/RequirementNotMetDetails.php":"c9dc078d5bbebeba01ae1a90befc97a1","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7929\/src\/Identity\/RequirementNotMetDetails.php":"5edc1d1760042d1ebea98fdabadfd86f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1851\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8788\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4385\/src\/Identity\/ErrorReason.php":"253ca0c76de4e5fb7a21885f73ad3287","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4273\/src\/Identity\/ErrorReason.php":"d67e2c5f0912895e8ecbe7963590448b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6071\/src\/Identity\/ErrorReason.php":"db3e91b95baa84ee684ceabe7a7e9a7a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11551\/src\/Identity\/ErrorReason.php":"2cd0c5a026553027f5feadf79f14dfde","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2560\/src\/Identity\/ErrorReason.php":"f74bbd7184b4aabf707d13ab09da6a2d","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11450\/src\/Identity\/ErrorReason.php":"fe6eee626ca85bc311eb64a672fcf143","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10336\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b"}} \ No newline at end of file +{"php":"8.1.29","version":"3.59.3:v3.59.3#30ba9ecc2b0e5205e578fe29973c15653d9bfd29","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\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8233\/examples\/profile\/sdk\/src\/YotiClient.php":"36f7e583f0a046456d29ce23238800b6","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder441\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10615\/src\/Identity\/WrappedReceipt.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7885\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3331\/src\/Identity\/ErrorReason.php":"ffa522415154592179dec4b37b471970","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7552\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10385\/src\/Identity\/ErrorReason.php":"ffa522415154592179dec4b37b471970","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9021\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1782\/src\/Identity\/WrappedReceipt.php":"91690e49d5489e1a14f0c07ca024306f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5834\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4202\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8372\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9846\/src\/Identity\/ErrorReason.php":"6dc63c421ef6b73814018f4054018f6a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder440\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11226\/src\/Identity\/ErrorReason.php":"5c6e5037955288ab2455d33f4385614a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4772\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2043\/src\/Identity\/ErrorReason.php":"5c6e5037955288ab2455d33f4385614a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9247\/src\/Identity\/ErrorReason.php":"4a563ac15db054683d52458b6d1977b9","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3891\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7263\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8220\/src\/Identity\/ErrorReason.php":"9b2c139ad97ba5b4202a321a2e8edd25","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1211\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2184\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10931\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4966\/src\/Identity\/RequirementNotMetDetails.php":"a8cbd09ef4d56d35c1420b69ff4700f3","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder205\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder120\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5797\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10725\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7115\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder421\/src\/Identity\/ErrorReason.php":"8529e54a1af2eaad8f33087af762bc4e","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8721\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6292\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6772\/src\/Identity\/ErrorReason.php":"fc2ecd1f01768ee86d4b8742aa9e49e4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8432\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4910\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1793\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2072\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6605\/src\/Identity\/WrappedReceipt.php":"0e2d9ad44898dec88316972b4b2bc748","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2711\/src\/Identity\/WrappedReceipt.php":"24a7cd8e8fe5aaac20017b66d2d8031d","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5221\/src\/Identity\/WrappedReceipt.php":"79f62bc2934d0856da8e42c1026c5e8f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9256\/src\/Identity\/WrappedReceipt.php":"83951ad8904476b440429f76e88ef7b4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1645\/src\/Identity\/WrappedReceipt.php":"0d09e2f114e843480d24ce944d5ec0a4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6460\/src\/Identity\/WrappedReceipt.php":"51e386a783be03b0d1f61634882f9ed4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4660\/src\/Identity\/WrappedReceipt.php":"c740e996b9f0c2f37127adca5756c961","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10602\/src\/Identity\/WrappedReceipt.php":"92283499ac53403c362a28bd225f2635","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder289\/src\/Identity\/WrappedReceipt.php":"2c1cee94b446bac31f27260c30f2af6c","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8368\/src\/Identity\/WrappedReceipt.php":"827420c52d4cc311b694e843f251f98a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11534\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3079\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4318\/src\/Identity\/WrappedReceipt.php":"49a08dd4d8c1a6bd9e0f93345eff23f1","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4937\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6574\/src\/Identity\/WrappedReceipt.php":"1d6f189412a649d4deaeb6656dc4b5ef","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7158\/src\/Identity\/WrappedReceipt.php":"5edfe93482c753e304e5afed6e88dbd4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5037\/src\/Identity\/WrappedReceipt.php":"5edfe93482c753e304e5afed6e88dbd4","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder12021\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8464\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2742\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9275\/src\/Identity\/RequirementNotMetDetails.php":"33ef678bf5e80a60ae779de37cf86420","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8370\/src\/Identity\/RequirementNotMetDetails.php":"e0c238b1896377e424c4bdcf7bd247ce","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7598\/src\/Identity\/RequirementNotMetDetails.php":"1fd87e80cf1e18f503f3c782602a83b0","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7595\/src\/Identity\/RequirementNotMetDetails.php":"74e78a53525369082ea457d59db03f63","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1404\/src\/Identity\/RequirementNotMetDetails.php":"c9dc078d5bbebeba01ae1a90befc97a1","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder7929\/src\/Identity\/RequirementNotMetDetails.php":"5edc1d1760042d1ebea98fdabadfd86f","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1851\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder8788\/src\/Identity\/ErrorReason.php":"dcad771b347fbf368fe05851b4313686","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4385\/src\/Identity\/ErrorReason.php":"253ca0c76de4e5fb7a21885f73ad3287","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder4273\/src\/Identity\/ErrorReason.php":"d67e2c5f0912895e8ecbe7963590448b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder6071\/src\/Identity\/ErrorReason.php":"db3e91b95baa84ee684ceabe7a7e9a7a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11551\/src\/Identity\/ErrorReason.php":"2cd0c5a026553027f5feadf79f14dfde","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2560\/src\/Identity\/ErrorReason.php":"f74bbd7184b4aabf707d13ab09da6a2d","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11450\/src\/Identity\/ErrorReason.php":"fe6eee626ca85bc311eb64a672fcf143","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10336\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3650\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder5430\/src\/Identity\/RequirementNotMetDetails.php":"c38f1c399533ab560ffeaf783c1a530b","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2267\/src\/Identity\/ErrorReason.php":"fe6eee626ca85bc311eb64a672fcf143","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder3039\/src\/Identity\/ErrorReason.php":"d364afcac9002f97379ed4d239f7ae0a","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10368\/src\/Identity\/ErrorReason.php":"f74bbd7184b4aabf707d13ab09da6a2d","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder2695\/src\/Identity\/ErrorReason.php":"65a2b503b0de3dd29ccbaf5fe3baff13","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder9334\/src\/Identity\/ErrorReason.php":"7214f802143028ec4384997c1fa71196","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1492\/src\/Identity\/ErrorReason.php":"c064c10d4a54c4db00e5935b2811a0ec","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder1064\/src\/Identity\/ErrorReason.php":"d97627b6b07fee4b475189934a7eb171","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder10110\/src\/Identity\/ErrorReason.php":"d97627b6b07fee4b475189934a7eb171","\/private\/var\/folders\/hs\/kw0d0_0d2kj8xl5yd5_t2rz40000gn\/T\/PHP CS Fixertemp_folder11962\/src\/Identity\/ErrorReason.php":"d97627b6b07fee4b475189934a7eb171"}} \ No newline at end of file diff --git a/src/Identity/ErrorReason.php b/src/Identity/ErrorReason.php index d1367b31..787fbf1e 100644 --- a/src/Identity/ErrorReason.php +++ b/src/Identity/ErrorReason.php @@ -14,10 +14,9 @@ class ErrorReason */ public function __construct(array $data) { - if (isset($data[0]) && is_array($data[0])) { + if (isset($data[0])) { $this->requirementNotMetDetails = new RequirementNotMetDetails($data); } else { - // Pass an empty or default array if the data is invalid $this->requirementNotMetDetails = new RequirementNotMetDetails([[ "failure_type" => '', "details" => '',