From 04749842b2dbbd1daecc68dfbbed08ded4b71ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 2 Mar 2024 12:41:12 +0100 Subject: [PATCH] fix phpstan property does not accept string (#28574) * fix phpstan property does not accept string * fix phpstan property does not accept string --- htdocs/stripe/class/stripe.class.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index b00c46b6dc6..70ed30c225f 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -1,5 +1,6 @@ + * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +49,9 @@ class Stripe extends CommonObject */ public $id; + /** + * @var string + */ public $mode; /** @@ -55,11 +59,21 @@ class Stripe extends CommonObject */ public $entity; + /** + * @var string + */ public $statut; public $type; + /** + * @var string + */ public $code; + + /** + * @var string + */ public $declinecode; /**