php-ovh-sms icon indicating copy to clipboard operation
php-ovh-sms copied to clipboard

Different variables names for getOutgoingMessages parameters

Open kervala opened this issue 6 years ago • 0 comments

In getOutgoingMessages declaration, you're using $dateStart and $dateEnd, but in implementation, you're checking $startDateTime and $endDateTime (and they are not defined) so PHP displays a notice :

PHP Notice: Undefined variable: startDateTime in /home/sms/www/vendor/ovh/php-ovh-sms/src/SmsApi.php on line 400 PHP Notice: Undefined variable: endDateTime in /home/sms/www/vendor/ovh/php-ovh-sms/src/SmsApi.php on line 408

kervala avatar Oct 25 '19 16:10 kervala