Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

داکیومنت اشتباه #2

Open
farshidpg opened this issue Mar 23, 2022 · 0 comments
Open

داکیومنت اشتباه #2

farshidpg opened this issue Mar 23, 2022 · 0 comments

Comments

@farshidpg
Copy link

طبق دایکومنت موجود در گیت متد زیر باید کار کنه :

$receptor = '09xxxxxxxxx';
$message = 'Hello, World!';
$lineNumber = '3000xxxxx'; 

$response = Ghasedak\Laravel\GhasedakFacade::SendSimple($receptor, $message, $lineNumber);

اما خطا میده

Too few arguments to function Ghasedak\GhasedakApi::__construct(), 0 passed in /home/farshixpg/Projects/90sec.ir/vendor/ghasedak/laravel/src/GhasedakServiceProvider.php on line 18 and exactly 1 expected

عملا API-KEY با روشی که توی داکیومنت گفتید ست نمیشه و در construct کلاس اصلی پارامترش خالی هستش برای همین این خطا رو میده .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant